Wolfram Demonstrations Project
7899

Mean Value Theorem for Integrals and Monte Carlo Integration

The mean value theorem for integrals states that if is continuous over , then there exists a real number with such that . Writing this as shows that the area under the curve is the base times the "average height" . To estimate this integral by the Monte Carlo method, use the following steps:
(1) Pick uniformly distributed numbers in the interval [,].
(2) Evaluate the function at each point and calculate the average function value: .
(3) Compute the approximate value of the integral: .

THINGS TO TRY

SNAPSHOTS

  • [Snapshot]
  • [Snapshot]
  • [Snapshot]








 
RELATED RESOURCES
Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Powered by Wolfram Mathematica © 2012 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+