定积分近似计算演示

定积分近似计算演示
几何画板及绘图内容加载中,请稍等……
2019-01-09 04:37
①本范例演示了使用左端点、右端点、中点和梯形法对定积分进行近似计算的过程;②涉及核心数学概念包括定积分、函数图像、矩形、梯形、几何作图;③构造中运用了Textfield, Sequence, Translate, LeftSum, Sum, Intersect, Polygon, Integral等GeoGebra命令和对象;④适合高中及以上学生学习和理解微积分中的积分近似计算方法。

GeoGebra 命令及参数

  1. Textfield(f) → InputBox1
  2. Textfield(a) → InputBox2
  3. Textfield(b) → InputBox3
  4. Sequence((a + (i * deltax), 0), i, 1, n, 1) → rightx
  5. Sequence((a + (i * deltax), f(a + (i * deltax))), i, 1, n, 1) → fofrightx
  6. Sequence((a + (i * deltax), 0), i, 0, n - 1, 1) → leftx
  7. Sequence(Midpoint[Element[leftx, i], Element[rightx, i]], i, 1, n, 1) → midpoints
  8. Sequence((a + (i * deltax), f(a + (i * deltax))), i, 1, n, 1) → list1
  9. Translate(list1, (deltax, 0)) → list1'
  10. LeftSum(f, a, b, n) → l
  11. Sequence(x = x(Element[midpoints, i]), i, 1, n, 1) → list2
  12. Sequence(Intersect[f, Element[list2, i], (1.1780972450961724, 0.38268343236508984)], i, 1, n, 1) → list3
  13. Translate(list3, (deltax / 2, 0)) → midpointtopright
  14. Translate(list3, (((-deltax)) / 2, 0)) → midpointtopleft
  15. Translate(midpoints, (deltax / 2, 0)) → midpoints'
  16. Translate(midpoints, (((-deltax)) / 2, 0)) → midpoints'_1
  17. Sequence(Polygon[Element[midpoints'_1, i], Element[midpoints', i], Element[midpointtopright, i], Element[midpointtopleft, i]], i, 1, n, 1) → list4
  18. Sum(list4) → h
  19. Translate(list1, ((-deltax), 0)) → list1'_1
  20. Translate(rightx, ((-deltax), 0)) → rightx'
  21. Sequence(Polygon[Element[rightx, i], Element[list1, i], Element[list1'_1, i], Element[rightx', i]], i, 1, n, 1) → rightrectanglesum
  22. Sum(rightrectanglesum) → j
  23. Intersect(k, p) → F
  24. Intersect(m, k) → G
  25. Polygon(D, E, G, F) → poly1, d_1, e, g_1, f_1
  26. Intersect(m, q) → H
  27. Intersect(p, q) → I
  28. Polygon(D, E, H, I) → poly2, d_2, e_1, h_1, i_1
  29. Intersect(p, r) → J
  30. Intersect(r, m) → K
  31. Polygon(D, E, K, J) → poly3, d_3, e_2, k_1, j_1
  32. Integral(f, a, b) → s
  33. Sequence(Polygon[(a + (i * deltax), 0), (a + ((i + 1) * deltax), 0), (a + ((i + 1) * deltax), f(a + ((i + 1) * deltax))), (a + (i * deltax), f(a + (i * deltax)))], i, 0, n - 1, 1) → list5
  34. Sum(list5) → u
  35. Textfield(x_o) → InputBox4

AI 绘图提示语参考

画一个函数图像,并展示用左端点、右端点、中点和梯形法近似计算定积分的过程。首先绘制函数曲线和x轴,然后在曲线下方用矩形和梯形表示不同的近似方法,标注每个方法的计算结果和积分的精确值。从左端点法开始,依次展示右端点法、中点法和梯形法,每个方法用不同颜色的图形区分,并标明分割的数量和每个小区域的面积。
以上提示语为根据原始绘图命令整理而来,仅供参考。