Advertisement
Guest User

Invalid

a guest
Oct 19th, 2020
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. from math import *
  2. a = float(input("Введи a:"))
  3. x = float(input("Введи x:"))
  4. y = pow(x, 3/4) + pow(5, 1/2) * tan(x) - (2*a) if x > 10 else y = cos(x) / a * sin(x)**2 + 1
  5. y = cos(x) / a * sin(x)**2 + 1 if x <= 10 else pow(x, 3/4) + pow(5, 1/2) * tan(x) - (2*a)
  6. print('x =', x, 'y =', y, sep=' ')
  7.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement