PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: confidence

Numerical integration: Gaussian quadrature rules

APMA 0160 (A. Yew) Spring 2011 Numerical integration: Gaussian quadrature rulesMatlab s built-in Numerical integration function[Q,fcount]=quad(f,a,b,tol)is essentially oursimp_compextrcode with some further efficiency-enhancing thatquadrequires scalar functions to be defined with elementwise operations, sof(x) =21+x2should be entered asf=inline( (1+x.^2) , x )orf=@(x) (1+x.^2)The default tolerance forquadis 10 has another efficient integration command calledquadl, with the same input and outputarguments.

5 2 (x 3 −3 5 x) and P 4(x) = 1 8 (35x 4 −30x2 +3). Each P k(x) is a polynomial of degree k, and has k roots that all lie in the interval (−1,1). So, to find the quadrature rule with maximum degree of exactness using n nodes and n weights, in principle we need to: •Find the Legendre polynomial P n(x). •Find the roots of P

Loading..

Tags:

  Numerical

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Transcription of Numerical integration: Gaussian quadrature rules

Related search queries