Wednesday, October 29, 2014

Trapezoidal Rule to find the average value of f(x)

From http://www.intmath.com/integration/5-trapezoidal-rule.php

Area21(y0+y1)Δx+21(y1+y2)Δx+21(y2+y3)Δx+

AreaΔx(2y0+y1+y2+y3++2yn) for uniform grid


The trapezoidal rule finds the area. To get the average 
value, you will need to divide the area by b-a which is the
 the difference between the final and initial x values.

No comments:

Post a Comment