Python, Sympy: nfloat() > switch to degrees -
i'm looking way, use sympy.nfloat
calculate degrees instead of radians.
is there function, turn whole result automatically degreeish calculation?
so nfloat("asin(sin(5))") => 5
(5
or can tell me, how add deg()
around every number in string automated? like: sin(5+7+119)
=> sin(deg(5)+deg(7)+deg(119))
Comments
Post a Comment