Question: Write a MATLAB program that computes the integral using the following methods: (a) Trapezoidal rule (b) Simpsons 1/3 rule (c) Simpsons 3/8 rule (d) Booles

Write a MATLAB program that computes the integralxp [(x2)+7][x -J

using the following methods:

(a) Trapezoidal rule

(b) Simpson’s 1/3 rule

(c) Simpson’s 3/8 rule

(d) Boole’s rule

(e) Fifth-order Newton–Coates

(f) Multiple trapezoidal rule (ten times)

(g) Multiple trapezoidal rule (100 times)

(h) Gauss quadrature

(i) Richardson extrapolation (using four and eight trapezoidal rule evaluations)

(j) Richardson extrapolation (using ten and 100 trapezoidal rule evaluations).

You program should print the results to the screen along with some text that explains which result is being printed using the fprintf command.

Table 8.6 Rate data for Problem 8.12. A 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 -TA (M/S) 3.94 2.91 2.33 1.95 1.47

xp [(x2)+7][x -J

Step by Step Solution

3.50 Rating (147 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Numerical Methods With Chemical Engineering Applications Questions!