SeattleTestbed / seattlelib_v2

RepyV2 libraries to use with SeattleTestbed
MIT License
1 stars 20 forks source link

Add trigonometric functions to `math.r2py` #180

Open aaaaalbert opened 8 years ago

aaaaalbert commented 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.

https://en.wikipedia.org/wiki/Euler's_formula has the math.

kellender commented 8 years ago

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.