Page 1 of 1

2. Calculate following integral, b=6 Ĵ (x4 cos x - 2) dx = 435.81767401 a=2 by following methods. (Consider in each case

Posted: Thu May 05, 2022 7:48 pm
by answerhappygod
2 Calculate Following Integral B 6 J X4 Cos X 2 Dx 435 81767401 A 2 By Following Methods Consider In Each Case 1
2 Calculate Following Integral B 6 J X4 Cos X 2 Dx 435 81767401 A 2 By Following Methods Consider In Each Case 1 (76.69 KiB) Viewed 25 times
2. Calculate following integral, b=6 Ĵ (x4 cos x - 2) dx = 435.81767401 a=2 by following methods. (Consider in each case, number of points n contains initial (a) and end points (b). Also, points are selected as equidistantly.) b) Simpson's 1/3 rule. (15p) i) Write MATLAB code performing integration by Simpson's 1/3 rule. Perform the calculation for n = 2k + 1; k = 1,2,...,10. Obtain a table containing n, In, |In — Iexact| where In is calculated integral for n point, and Iexact is exact value of the integral given in the question.