I have to evaluate the sum in the for-loop. How do i do that?
Also, I need to print the partial sums using %e. Please help!
Also, I need to print the partial sums using %e. Please help!
int i;
int sum = 0;
for(i = FIRST_VALUE; i < STOP_VALUE; i++)
{
sum += f(i);
}
Comment