Hi guys.

I have to calculate the sum of the following series: MathBin.net - j with the precision of 10^-8

I need to use the following approximation: MathBin.net - approx while the stopping criterion should be: MathBin.net - stopping criterion

The next partial sum should be calculated from the previous one.

The program should be pretty similar to To find the sum of the sine series - free C source codes however here it's the user who enters the number of terms.

How to do this with the other way?

Thanks!