Numerical Integration

Numerical Integration Numerical Integration

files.vlsi.uwindsor.ca
from files.vlsi.uwindsor.ca More from this publisher
22.04.2015 Views

Trapezoidal Rule: Example • Numerically integrate: f ( x ) = 0.2 + 25x − 200x + 675x 2 3 − 900x 4 + 400x 5 a = 0, b = 0.8 (Analytical answer = 1.6405333) © 2003-2006 Roberto Muscedere 6

Trapezoidal Rule: Example f (0) = 0.2 f (0.8) = 0.232 I ≅ 0.2 0.232 ⎞ 0 .8 ⎜ ⎛ + ⎟ = ⎝ 2 ⎠ 0.1728 • Significant difference from analytical solution of 1.6405333 © 2003-2006 Roberto Muscedere 7

Trapezoidal Rule: Example<br />

f<br />

(0)<br />

= 0.2<br />

f<br />

(0.8)<br />

=<br />

0.232<br />

I<br />

≅<br />

0.2<br />

0.232<br />

⎞<br />

0 .8<br />

⎜<br />

⎛ +<br />

⎟ =<br />

⎝ 2 ⎠<br />

0.1728<br />

• Significant difference from analytical solution<br />

of 1.6405333<br />

© 2003-2006 Roberto Muscedere 7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!