Riemann Sums - Rectangular Approximation (LRAM, RRAM, MRAM) by bkinnell

Riemann Sums - Rectangular Approximation (LRAM, RRAM, MRAM) by bkinnell
Loading the math board and drawing, please wait…
2012-02-20 06:37
This example demonstrates how to approximate the integral of a function using rectangular approximations. Key concepts include Riemann sums, upper and lower sums, and integral limits. Construction involves using GeoGebra commands like Sequence, Sum, and Element to visualize the function and rectangles. Suitable for high school students learning calculus or for educational purposes in mathematical modeling.

GeoGebra Commands & Parameters

  1. Sequence((f(i) * h), i, x1 + h / 2, x2 - h / 2, h) → M2
  2. Sequence((f(i) * h), i, x1 + h, x2, h) → R2
  3. Sequence((f(i) * h), i, x1, x2 - h, h) → L2
  4. Sequence((i, f(i)), i, x1, x2, h) → L1
  5. Sequence(Polygon[(x(Element[L1, i]), 0), Element[L1, i], (x(Element[L1, i + 1]), y(Element[L1, i])), (x(Element[L1, i + 1]), 0)], i, 1, n) → LeftP
  6. Sequence(Polygon[(x(Element[L1, i]), 0), (x(Element[L1, i]), y(Element[L1, i + 1])), Element[L1, i + 1], (x(Element[L1, i + 1]), 0)], i, 1, n) → RightP
  7. Sequence((i + h / 2, f(i + h / 2)), i, x1, x2 - h, h) → LM
  8. Sequence(Polygon[(x(Element[L1, i]), 0), (x(Element[L1, i]), y(Element[LM, i])), (x(Element[L1, i + 1]), y(Element[LM, i])), (x(Element[L1, i + 1]), 0)], i, 1, n) → MidP
  9. Sum(L2) → LRAM
  10. Sum(R2) → RRAM
  11. Sum(M2) → MRAM
  12. LaTeX(LRAM, true, true) → text4
  13. LaTeX(RRAM, true, true) → text5
  14. LaTeX(MRAM, true, true) → text6
  15. Textfield(f) → inputBox1
  16. Element(L1, 2) → A

AI Drawing Prompt Reference

Draw a function graph and display its left rectangle approximation (LRAM), right rectangle approximation (RRAM), and midpoint rectangle approximation (MRAM) for integral approximation. Use a slider to adjust the interval and number of rectangles, showing stacked rectangles at different positions (left endpoint, right endpoint, midpoint) to approximate the area under the function. Label the numerical results of each approximation, and display the function expression and key point coordinates.
The prompt above was compiled from the original drawing commands and is for reference only.