Calculate the Reduced Number of Books

Calculate the Reduced Number of Books
Loading the math board and drawing, please wait…
2023-04-26 15:26
This example demonstrates the concept of percentage reduction by calculating the reduced number of books. Core mathematical concepts include percentage calculation and practical application. GeoGebra commands such as Sequence, Point, and Textfield are used in construction. Suitable for 7-8th grade students for learning and practice.

GeoGebra Commands & Parameters

  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 Drawing Prompt Reference

Create a percentage bar chart showing the reduction of books. Include two parallel horizontal baseline lines with vertical bar lines distributed from left to right representing different categories. The top bars display percentage labels (like 10%, 20%), while the bottom bars show corresponding euro amounts (like €10, €20). Between the two baselines, use diagonal lines forming arrow shapes to indicate the downward trend from original to reduced prices. Add interactive sliders to control the number and height of bars, with a movable reference point on the y-axis to dynamically filter which labels are displayed. Maintain a clean coordinate geometry style throughout.
The prompt above was compiled from the original drawing commands and is for reference only.