This preview shows page 1. Sign up to view the full content.
Assignment 5
Submit April 15, 2010
1.
Write a program that evaluate the Gauss Quadratures and weights for approximation
of order
n
. By this program evaluate
∫
−
1
1
dx
xe
x
with
n
=3, 5, 10. Compare your solution to the exact result. Present your solution in a
table form.
2.
Write a Matlab program that evaluates
with no error
the integral shown below by
Gaussian Quadratures
() ()
∫
−
=
1
1
This is the end of the preview. Sign up
to
access the rest of the document.
Unformatted text preview: 2 sin xdx x f x I . for all polynomials ( ) x f of degree 6 and lower. To check your result evaluate ( ) ( ) ∫ − + + + = 1 1 5 6 2 sin 3 2 3 xdx x x x x I , by using the Gaussian Quadratures developed and compare the result to the exact solution. 3. By using Gauss Quadratures evaluate dx x e x x ∫ = − 3 1 cos and compare your solution to the exact result....
View
Full
Document
This note was uploaded on 12/02/2011 for the course ME 7533 taught by Professor Staff during the Summer '11 term at LSU.
 Summer '11
 Staff

Click to edit the document details