Approximating the Area Under a Curve with LRAM and RRAM

Approximating the Area Under a Curve with LRAM and RRAM
Loading the math board and drawing, please wait…
2012-07-07 09:03
This example demonstrates how to approximate the area under a curve using the left rectangle method (LRAM) and the right rectangle method (RRAM). By adjusting the number of rectangles, students can observe how the approximations approach the actual area. The example involves the concept of definite integrals in calculus. Using GeoGebra commands such as Sequence, Sum, and Integral, students can dynamically explore the placement of rectangles and the calculation of areas. Suitable for high school calculus education.

GeoGebra Commands & Parameters

  1. Sequence(d * n, n, d, numberofsubintervals) → xcright
  2. Sequence(d * n, n, 1, numberofsubintervals) → A1
  3. Sequence((d * n, 0), n, 0, numberofsubintervals) → xcoord
  4. Sequence(Polygon[(n, 0), (n + d, 0), (n + d, f(n + d)), (n, f(n + d))], n, 0, 2 - d, d) → rightrect
  5. Sum(rightrect) → RRAM
  6. Sequence(Polygon[(n, 0), (n + d, 0), (n + d, f(n)), (n, f(n))], n, 0, 2 - d, d) → leftrect
  7. Sequence((n + d, f(n)), n, 0, 2 - d, d) → list1
  8. Sequence((n, f(n + d)), n, 0, 2 - d, d) → list2
  9. Sequence(f(d * n), n, 0, numberofsubintervals) → list4
  10. Sum(leftrect) → LRAM
  11. Integral(f, 0, 2) → c
  12. Sequence((d * n, f(d * n)), n, 0, numberofsubintervals) → ycoord