diff --git a/Computer Oriented Statistical Methods/Simpson's_1-3rd_rule.c b/Computer Oriented Statistical Methods/Simpson's_1-3rd_rule.c index 7c04b89c..3483b25c 100644 --- a/Computer Oriented Statistical Methods/Simpson's_1-3rd_rule.c +++ b/Computer Oriented Statistical Methods/Simpson's_1-3rd_rule.c @@ -28,7 +28,7 @@ void main() x=a+i*h; s2=s2+f(x); } - intgral=(h/3.0)*(sum+2*s2+4*s3); + intgeral=(h/3.0)*(sum+2*s2+4*s3); printf("\nvalue of the integral =%9.4f\n",integral); getch(); -} \ No newline at end of file +}