# Riemann Sums Java Applet

You can use this Java applet to explore the concept of numerical integration. We met this concept before in Trapezoidal Rule and Simpson Rule.

Before integration was developed, the only way to find the area under a curve was to draw rectangles with increasingly smaller widths to get a good approximation.

Remember, we are using the area under a graph to represent some physical quantity.

For example, integration can help us to find a velocity from an acceleration, or to solve problems in electronics.

### Things to Do

In this applet, you start with a predefined function that has been drawn for you. You can:

- At the bottom, increase the number of intervals (try 20). Click "Compute" and you get more rectangles and the accuracy of the approximation improves. (The 'correct' answer to 9 decimal places is 8.240404602.)
- Now try different options from the "Method" pull-down menu. Consider which one gives the best approximation and why. You can see Trapezoid Rule in the last option.
- You can change the range of values of
*x*and*y*. - You can choose different example functions from the pull-down menu at the top. (Choose the example and then click "Load Example" to the left.)
- Now try your own function in the box at the bottom. Try simple ones like sin(
*x*) or tan(*x*) first.

Applet by David Eck and team from the Hobart and William Smith Colleges.

Sorry about the slow load time for this applet - it is pretty big...

Didn't find what you are looking for on this page? Try **search**:

### Online Algebra Solver

This algebra solver can solve a wide range of math problems. (Please be patient while it loads.)

Go to: Online algebra solver

### Ready for a break?

Play a math game.

(Well, not really a math game, but each game was made using math...)

### The IntMath Newsletter

Sign up for the free **IntMath Newsletter**. Get math study tips, information, news and updates each fortnight. Join thousands of satisfied students, teachers and parents!

### Share IntMath!

### Short URL for this Page

Save typing! You can use this URL to reach this page:

intmath.com/riemannjava

### Calculus Lessons on DVD

Easy to understand calculus lessons on DVD. See samples before you commit.

More info: Calculus videos