100% Guaranteed Results


MA202 – IIIT Vadodara Solved
$ 29.99
Category:

Description

5/5 – (1 vote)

MA202 Numerical Techniques
LAB#5 Numerical Integration
1. Various methods of numerical integration The integrations over two segments by the trapezoidal rule, and Simpson’s rule, which are referred to as Newton–Cotes formulas for being based on the approximate polynomial and are implemented by the following formulas: 1. Trapezoidal Rule
, (1)
where h is b − a.
2. Simpson’s one by third rule
, (2)
where h is (b − a)/2.
3. Simpson’s one by Eighth rule
, (3)
where h is (b − a)/2.
Local and global truncation errors for single application of Newton-Cotes formulae
1. For the trapezoidal method local truncation error (LTE) will be in the order of h3 and global truncation error (GTE) will be in the order of h2.
2. The simpson’s one by third rule gives a LTE in the order of h5, and GTE is in the order of h4.
3. The simpson’s one by eighth rule gives a LTE in the order of h5, and GTE is in the order of h4.
Multiple applications of all the rules mentioned above can be summed over the number of intervals to calculate the approximated numerical value for integration and further the GTE.
Q. 1: Compute the following integrals by using the trapezoidal rule, the Simpson’s one by third rule, and Simpson’s one by eighth rule for the mentioned limits.
a. Verify the order of errors (LTE) for all the three methods calculating numericalintegral using single application of Newton-cotes formulae. Choose h = 0.1 b. Choose h = 0.01 and repeat the previous sub-division.
b. Verify the order of errors (GTE) for all the three methods calculating numericalintegral using multiple application of Newton-cotes formulae. Choose n = 100. Change value to 100 and comment on results.
c. Use MATLAB functions trapz and quad to do the same and check for the errors.
Use section wise codes for calculating errors in the single script. d. Vary the number of intervals and comment on observations.
1. 2 − x + ln(x), where a = 1 and b = 2 2. x3− 2x, where a = 0 and b = pi/2
Page 2 of 2

Reviews

There are no reviews yet.

Be the first to review “MA202 – IIIT Vadodara Solved”

Your email address will not be published. Required fields are marked *

Related products