Area Under Curve by Rectangular Slices

Area Under Curve by Rectangular Slices
Loading the math board and drawing, please wait…
2013-07-16 10:36
This applet demonstrates the method of approximating the area under a curve using rectangular slices. Key mathematical concepts include integration, limits, and functions. Using GeoGebra commands such as Textfield, Integral, Sequence, and Sum, users can dynamically adjust the number of slices and observe how the sum of the areas of the rectangles converges to the actual area under the curve. Suitable for high school and above students learning calculus.

GeoGebra Commands & Parameters

  1. Textfield(f) → inputBox1
  2. Textfield(upperlimit) → inputBox2
  3. Textfield(lowerlimit) → inputBox3
  4. Textfield(numberofslices) → inputBox4
  5. Integral(f, ll, ul) → AreabyDefiniteIntegral
  6. Sequence(Polygon[(dx, 0), (dx, f(dx)), (dx + (ul - ll) / numberofslices, f(dx)), (dx + (ul - ll) / numberofslices, 0)], dx, ll, ul - (ul - ll) / numberofslices, (ul - ll) / numberofslices) → LeftRectanglesEstimate
  7. Sum(LeftRectanglesEstimate) → AreaLeftRectangleEstimate
  8. Sequence(Polygon[(dx, 0), (dx, f(dx + (ul - ll) / numberofslices)), (dx + (ul - ll) / numberofslices, f(dx + (ul - ll) / numberofslices)), (dx + (ul - ll) / numberofslices, 0)], dx, ll, ul - (ul - ll) / numberofslices, (ul - ll) / numberofslices) → RightRectanglesEstimate
  9. Sum(RightRectanglesEstimate) → AreaRightRectangleEstimate
  10. Sequence(x = dx, dx, ll, ul, (ul - ll) / numberofslices) → VerticalLinesWithinLimits
  11. Sequence((dx, f(dx)), dx, ll, ul, (ul - ll) / numberofslices) → PointsOnCurvefWithinLimits
  12. Polygon(SliceVertex1, SliceVertex2, SliceVertex3, SliceVertex4) → SliceInFocus, c, d, e, g
  13. Polygon(SliceVertex1, SliceVertex2u, SliceVertex3u, SliceVertex4) → SliceBiggerInFocus, slicevertex1, slicevertex2u, slicevertex3u, slicevertex4

AI Drawing Prompt Reference

Draw the area under the curve of function f(x) from lowerlimit to upperlimit using numberofslices rectangles. First, plot the function graph, then divide the interval into equal parts to draw left and right rectangles, and observe how their areas approximate the actual area. Finally, dynamically adjust numberofslices to see the effect of increasing the number of rectangles on the approximation.
The prompt above was compiled from the original drawing commands and is for reference only.