Quantcast
Channel: MyClassBook
Viewing all articles
Browse latest Browse all 368

Simpson’s 3/8th Rule MATLAB Program example

$
0
0
Simpson’s 3/8th Rule MATLAB Program example: Question: Evaluate the integral x^4 within limits -3 to 3 using Simpson’s 3/8th Rule. Solution: Let y(x)=x^4 here a=-3 and b=3 therefore (b-a)=6 let ‘n’ be the number of intervals. assume n=6 in this case. also h=(b-a)/n = 6/6 =1 x: -3  -2  -1  0  1  2  3 y: 81 […]

Viewing all articles
Browse latest Browse all 368

Trending Articles