{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

NA_ex5

# NA_ex5 - 2 sin xdx x f x I for all polynomials x f of...

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 2
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

{[ snackBarMessage ]}