Riemann Sums - Rectangular Approximation (LRAM, RRAM, MRAM) by bkinnell
Loading the math board and drawing, please wait…
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
Sequence((f(i) * h), i, x1 + h / 2, x2 - h / 2, h) → M2Sequence((f(i) * h), i, x1 + h, x2, h) → R2Sequence((f(i) * h), i, x1, x2 - h, h) → L2Sequence((i, f(i)), i, x1, x2, h) → L1Sequence(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) → LeftPSequence(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) → RightPSequence((i + h / 2, f(i + h / 2)), i, x1, x2 - h, h) → LMSequence(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) → MidPSum(L2) → LRAMSum(R2) → RRAMSum(M2) → MRAMLaTeX(LRAM, true, true) → text4LaTeX(RRAM, true, true) → text5LaTeX(MRAM, true, true) → text6Textfield(f) → inputBox1Element(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.