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

Simpson’s 1/3rd rule MATLAB Program examples

$
0
0
Simpson’s 1/3rd  rule MATLAB Program examples: Question: Evaluate the integral x^4 within limits -3 to 3 using Simpson’s 1/3 rd 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 […]

Viewing all articles
Browse latest Browse all 368

Trending Articles