VERY IMPORTANT qUESTION

: Calculate cos(x)

The function cos(x) can be calculated using the following Taylor series expansion:

cos(x)=1-x^2/2!+x^4/4!-x^6/6!+x^8/8! .... and so on

Write a program that calculates cos(x) for a given value of x to an accuracy within 0.00005.
VERY IMPORTANT aNSWER

You're on the wrong section. Post in the general c++ programming. You wont get much help if your post looks like this. We dont do homework. Use google to your advantage and get started on something, show us code and ask specific questions.
@tarikneaj

Okay. But to clear things out im new in programming + i just created an account.

thanks.
Topic archived. No new replies allowed.