Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def F(x):
- return 2*(x - 5)*(x-5)+55
- a = -10, b = 27
- M = a, R = F(a)
- for t in range(a, b + 1):
- if(F(t) > R):
- M = t
- R = F(t)
- print(M)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement