Open aaaaalbert opened 8 years ago
We should have basic trigonometric functions like sin, cos, and tan in Repy too. The implementation should be based on math_e, the exponentiation operator **, and complex value operations.
sin
cos
tan
math_e
**
complex
https://en.wikipedia.org/wiki/Euler's_formula has the math.
I made a PR for trig functions: https://github.com/SeattleTestbed/seattlelib_v2/pull/181 I forgot to ask you about how many decimal place you wanted.
We should have basic trigonometric functions like
sin
,cos
, andtan
in Repy too. The implementation should be based onmath_e
, the exponentiation operator**
, andcomplex
value operations.https://en.wikipedia.org/wiki/Euler's_formula has the math.