a) Write a ‘C’ program to compute the following series:
1 – x + x^2/2 – x^3/6 + x^4/24 + + (-1)^nx^n/n!
Where n and x is to be accepted by the user.
in C and CPP
a) Write a ‘C’ program to compute the following series:
1 – x + x^2/2 – x^3/6 + x^4/24 + + (-1)^nx^n/n!
Where n and x is to be accepted by the user.