AE/ME 330 Spring 2013, Homework VII, Due Monday April 29 1. Using composite Trapezoidal and Simpson’s 1/3 rule, approximate Z 0 xSin(x)dx: Obtain your results for n = 2; 4; 6; ::::; 40 panels. For each case, calcu- late the error in the approximation using the exact value of the integral. For each n (number of panels), tabulate h (mesh size), result obtained with the trapezoidal method, error of the trapezoidal method, result ob- tained with Simpson’s method, and the error of the Simpson’s method. On the same log-log plot, show the change of the error with the mesh size for each method. Comment on your results. 2. Use 3 and 4 point Gaussian Quadrature to approximate the integral given in question 1. 3. To numerically evaluateZ 0:5 0 Z 0:5 0 xye(y??x)dydx (a) Use Simpson’s 1/3 method with two panels in each direction (b) Use 3 point Gaussian quadrature for each direction Show your calculations clearly and evaluate the error for each method using the exact value of the integral. 4. Following integral arises in the study of dihedral angle for assuring the lateral stability of an aircraft: Z 1 0 p(1 ?? 2) 2d(a) Numerically integrate the above integral using: (i) Simpson’s method with two panels, (ii) three-point Gaussian Quadrature. Compare your results with the exact value of the integral. 1
(b) Another three-point quadrature rule for this type of integrals can be written as Z 1 0 p(1 ?? 2) f()d!0f(0) + !1f(0:5) + !2f(1) which is exact for quadratic polynomials (i.e., above formula will be exact for f() = 1, f() = , and f() = 2). Using this fact, determine the weight coecients !0, !1, and !2. 2
ScholarMatic | 24/7 Homework Help
ScholarMatic Will Help You Write Your Essays and Term Papers
Answered » You can buy a ready-made answer or pick a professional tutor to order an original one.
Numerical Methods (MatLab)
See attachment. Use matlab
Document Preview:
HOME TO CERTIFIED WRITERS

Why Place An Order With Us?
- Certified Editors
- 24/7 Customer Support
- Profesional Research
- Easy to Use System Interface
- Student Friendly Pricing
Have a similar question?
ScholarMatic: Get Started
Assignment Writing Service
Feel safe and secure when placing an order on our portal!
Fruitful cooperation begins with solid guarantees, and we are professional enough to promise perfect results. Let’s get it started!




