计算降价后的书本数量

计算降价后的书本数量
几何画板及绘图内容加载中,请稍等……
2023-04-26 15:26
本示例通过计算降价后的书本数量,演示了百分比减少的概念。涉及的核心数学概念包括百分比计算和实际应用。使用了GeoGebra命令如Sequence, Point, Textfield等进行构造。适合初中7-8年级学生学习和练习。

GeoGebra 命令及参数

  1. Sequence(O3 + (m * (length / 150, 0)), m, 0, 150) → listPointsO3AllSmall
  2. Point(Line[O1, yAxis]) → Q1
  3. Sequence(O1 + (0, height / 2) + (m * (sizeall / 50, 0)), m, 0, 50) → l1
  4. Point(l1) → P
  5. Textfield(input1) → Eingabefeld1
  6. Textfield(input2) → Eingabefeld2
  7. If(input3, A, B) → Pchosen
  8. CircleArc(Midpoint[A1, A2] + (arrowdepth, 0), A1, A2) → e
  9. CircleArc(Midpoint[A3, A4] + ((-arrowdepth), 0), A4, A3) → c
  10. CircleArc(Midpoint[B3, B4] + ((-arrowdepth), 0), B4, B3) → d
  11. CircleArc(Midpoint[B1, B2] + (arrowdepth, 0), B1, B2) → f
  12. Textfield(input5) → Eingabefeld5
  13. Textfield(input6) → Eingabefeld6
  14. Point(Line[O3, yAxis]) → O4
  15. Sequence(O3 + (m * (length / parts, 0)), m, 0, parts) → listPointsO3All
  16. Point(listPointsO3AllSmall) → P3
  17. KeepIf(x(M) ≤ Max[x(listPointsO3All(21)), x(P3)], M, listPointsO3All) → listPointsO3
  18. Zip(Segment[M, M - (0, height)], M, listPointsO3) → listLinesO3
  19. Sequence(Text["\textsf\small{" + ((10 * m)) + (("%" * "}")), ((m * length / ((0.5 * parts))) + x(O3), y(O3)), true, true, -0, 1], m, 1, (0.5 * parts)) → listText
  20. Sequence(Text["\textsf{" + ((35 * m)) + (("€\vphantom{g}" * "}")), ((m * length / ((0.5 * parts))) + x(O4), y(O4) - height - 0.83), true, true, -0, 1], m, 1, (0.5 * parts) + 1) → listTextB
  21. Segment(P3, (x(P3), y(O4) - height)) → g
  22. KeepIf((10 * IndexOf[M, listText]) + 2 ≤ Max[101, IndexOf[P3, listPointsO3AllSmall]], M, listText) → listTextShow
  23. KeepIf((10 * IndexOf[M, listTextB]) + 2 ≤ Max[101, IndexOf[P3, listPointsO3AllSmall]], M, listTextB) → listTextShowB
  24. Sequence(O4 + (m * (length / parts, 0)), m, 0, parts) → listPointsO4All
  25. KeepIf(x(M) ≤ Max[x(listPointsO3All(21)), x(P3)], M, listPointsO4All) → listPointsO4
  26. Zip(Segment[M, M - (0, height)], M, listPointsO4) → listLinesO4
  27. Textfield(input0) → Eingabefeld0

AI 绘图提示语参考

绘制一个百分比柱状图,展示书籍数量的减少效果。图中包含两条平行的水平基准线(分别位于上下位置),从左到右分布若干垂直柱状线条代表不同的分类,每根柱子顶部标注对应的百分比数值(如10%、20%等),下方柱子则标注相应的金额(如€10、€20等)。在两条基准线之间用斜线填充形成箭头形状,指示从原价到现价的下降趋势。设置交互式滑块控制柱子的数量和高度比例,y轴上有一个可移动的参考点用于动态筛选显示哪些标签。整个图形保持简洁的坐标几何风格,比例协调。
以上提示语为根据原始绘图命令整理而来,仅供参考。