Hey guys,

so I want to write a program that calculates the sinus, cosinus and tangent without using math library...

Any ideas?

Featured Replies

- 1
Sin(x) = x - x^3/3! + x^5/5! + x^7/7! ... Cos(x) = 1 - x^2/2! + x^4/4! - x^6/6! ... Cos(x) = Sin( x - 90 ) ; //assuming x is in degrees Tan(x) = Sin(X)/cos(X) "!" means factorial. for example to calculate Sinus you can do this : [code] … Read More

This topic has been dead for over six months. Start a new discussion instead.

Recommended Topics