fork download
  1. import math
  2. a=float(input())
  3. b=float(input())
  4. x=float(input())
  5. k=float(input())
  6. e=float(input())
  7. if a!=0:
  8. (0.8*x/math.sqrt(math.fabs(x)))
  9. else:
  10. print ("error");
  11. if k+b!=0:
  12. (math.pow(math.sin(x), 2)*a/k+b)
  13. N=0.8*x/math.sqrt(math.fabs(x))+((math.pow(math.sin(x), 2)*a/k+b+0.87)*math.sin(x)+math.pow(e, x))
  14. print(N)
Success #stdin #stdout 0.03s 9392KB
stdin
1
2
2
1
2
stdout
8.492881409557175