You are on page 1of 2

Numerical Integration by Newton's Formula

a= 0.2
b= 1 i xi yi
h= 0.1 0 0.2 -2.8167866469
n= 8 1 0.3 -2.5696159248
2 0.4 -2.4153019719
3 0.5 -2.3069358524
4 0.6 -2.2243952885
5 0.7 -2.157538927
6 0.8 -2.1009102487
7 0.9 -2.0516223569
8 1 -2.008348936
wton's Formula

Analytical Integration
-1.8215417708

Trapezoidal Rule Error % Error


-1.8238888361479 -0.00234707 0.12885

Simpson's h/3 Error %Error


-1.82164009483187 -9.8324E-05 0.005398

Simphson's 3h/8 Error %Error


-1.79610941969687 0.025432351 -1.396199

You might also like