fork download
  1. # your code goes here
  2. import math
  3. a1=-2
  4. b1=0
  5. angle = 1.57079632679
  6. b_new = a1*math.sin(angle)+b1*math.cos(angle)
  7. print(b_new)
Success #stdin #stdout 0.02s 9984KB
stdin
Standard input is empty
stdout
-2.0