The first time throught the loop, i is zero ... and the calculation for t implies a division by zero, which yields INFINITY
t=(sig*x*x)/(2*i*(2*i+1)); // divide by zero
Type: Posts; User: qny
The first time throught the loop, i is zero ... and the calculation for t implies a division by zero, which yields INFINITY
t=(sig*x*x)/(2*i*(2*i+1)); // divide by zero