C program to compute the sum of the first n terms of the infinite series

Q&ACategory: MathematicsC program to compute the sum of the first n terms of the infinite series
Biswadip PalBiswadip Pal Staff asked 2 years ago

Write a C program to compute the sum of the first n terms of the infinite series:
[latex]1- \frac{x}{2^3} +\frac{x^2}{3^2} -\frac{x^3}{4^3} +\frac{x^4}{5^2} – \ldots [/latex] for x=0.6, correct up to four decimal places.

Your Answer

12 + 18 =