I am having problem with the setup of the calculation. Please if anyone have
any suggestions for this question then I would appreciate it.
Greetings Neo
Ask value of x and term of n then calculate sine(2x) by sin(2x) =
2x/1! +((( pow(2,3))* pow(x,3))/3!) – ((( pow(2,5))*pow(x,5))/5!) + …. (n term)
and find the different of calculated sin(2x) and sin(2x) by function in C language [use “sin()”]
Example
Enter the value of x = 0.5
Enter the term of n = 4