Advertisement
Guest User

Untitled

a guest
Dec 31st, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.43 KB | None | 0 0
  1. # This is Python.
  2.  
  3. def f1(x):
  4.     return 1500*x + 10500000
  5.  
  6. def f2(x):
  7.     return -(x**2 / 2) + 7750*x - 9031250
  8.  
  9. def f3(x):
  10.     return -3500*x + 54250000
  11.  
  12. def f4(x):
  13.     return (x**2 / 2) - 17250*x + 148781250
  14.  
  15. def f5(x):
  16.     return 1500*x - 27000000
  17.  
  18. dusk = 6250
  19. evening = 11250
  20. morning = 13750
  21. dawn = 18750
  22. x1=7750
  23. x2=17250
  24.  
  25. f1(dusk), f2(dusk)
  26. f2(evening), f3(evening)
  27. f3(morning), f4(morning)
  28. f4(dawn), f5(dawn)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement