Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- step = 0.000001
- x = -1
- while x <= -0.3:
- if abs(3 * math.sin(5 * x) + 2 * math.cos(-3 * x)) <= 0.00001:
- print(x)
- break
- x += step
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement