View Full Version : Average Value
tandoorichicken
Feb25-04, 07:27 PM
I forgot the formula for the average value of a function.
Is that f(b) - f(a) = f'(c)(b-a) or am I thinking of something else?
cookiemonster
Feb25-04, 07:52 PM
Try:
\frac{\int_a^b f(x)\,dx}{b-a}}
Just remember that you're turning the area under the curve into a rectangle of base (b - a). The height is the average value.
cookiemonster
tandoorichicken
Feb25-04, 08:09 PM
okay, the actual problem now becomes
\frac{\int_{-1}^{1} e^{-x^2} \,dx}{-2}
any takers?
cookiemonster
Feb25-04, 10:46 PM
You've got an extra negative in the denominator.
The expression can be simplified at most to:
\int_0^1 e^{-x^2}\,dx
Which must be integrated numerically. Mathematica gives:
\int_0^1 e^{-x^2}\,dx = .746824
cookiemonster
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.