usemygauss - f=inline('x.^2') quad=MyGauss(f,0,2*pi,3)

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
%gauss legnedre quadrature %try with integral x.^2 from 0 to 2pi
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: f=inline('x.^2') quad=MyGauss(f,0,2*pi,3)...
View Full Document

This note was uploaded on 09/11/2011 for the course MECH 231 taught by Professor Den during the Spring '11 term at Rutgers.

Ask a homework question - tutors are online