Question: C++ Programming Given sin(x) = x x3 /(3!) + x5 /(5!) x7 /(7!) + x9 /(9!) + . . .where x is in radian. cos(x)
C++ Programming
Given sin(x) = x x3 /(3!) + x5 /(5!) x7 /(7!) + x9 /(9!) + . . .where x is in radian.
cos(x) = 1 x2 /(2!) + x4 /(4!) x6 /(6!) + x8 /(8!) + . . . where x is in radian.
1.Write two functions g(x) = sin(x) and h(x) = cos(x) using the series above to obtain accuracy to 5 decimal places
. 2.Write a C++ program that uses the functions above to calculate f(n) for integer n = 0 to 6 where
f (n) = 5 g(n) * h(4000 n + /3)
= 5 sin(n) * cos(4000 n + /3) and 0
PLEASE BE AS SIMPLE AS POSSIBLE AND EXPLAIN

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
