next up previous contents
Next: Arctan Up: Trigonometric Functions Previous: Sine

Cosine

The cosine function is implemented in exactly the same manner as the sine function using the approximation:

\begin{displaymath}
\cos(x) = \sum_{i=1}^\infty \frac{(-1)^n \!\cdot\!x^{2n-1}}{(2n)!}\end{displaymath}



Martin Escardo
5/11/2000