Wrapping a Chocolate Bar

Wrapping a Chocolate Bar
Loading the math board and drawing, please wait…
2015-05-07 11:40
This example demonstrates how to use GeoGebra to draw the wrapping of a chocolate bar. Key mathematical concepts include line segments, polynomial functions, linear regression, intersections, and definite integrals. Using commands such as Line, Point, Rotate, Intersect, Polygon, Circle, and Distance, the construction of the chocolate bar wrapping is achieved. Suitable for high school mathematics education and learning.

GeoGebra Commands & Parameters

  1. Line(A, B) → a
  2. Point(c) → F
  3. Rotate(B, 300*°, A) → B'
  4. Line(A, B') → b
  5. Point(b) → C
  6. Line(C, a) → d
  7. Line(F, b) → e
  8. Line(C, c) → f
  9. Intersect(e, f) → E
  10. Line(F, a) → h
  11. Line(E, a) → i
  12. Polygon(C, E, F, A) → poly3, c_2, e_3, f_2, a_1
  13. Point(d) → D
  14. Line(D, b) → g
  15. Line(D, c) → j
  16. Intersect(i, j) → G
  17. Line(G, b) → k
  18. Intersect(a, g) → H
  19. Intersect(h, k) → I
  20. Polygon(C, E, G, D) → poly1, c_1, e_1, g_1, d_1
  21. Polygon(G, I, H, D) → poly2, g_2, i_1, h_1, d_2
  22. Polygon(I, F, A, H) → poly4, i_2, f_1, a_2, h_2
  23. Polygon(F, E, G, I) → poly5, f_3, e_2, g_3, i_3
  24. Circle(A, F) → p
  25. Intersect(p, b, 1) → J
  26. Circle(C, f_1) → q
  27. Intersect(q, b, 2) → K
  28. Line(K, d) → l
  29. Line(J, a) → m
  30. Intersect(p, a, 1) → L
  31. Line(L, b) → n
  32. Circle(D, f_1) → r
  33. Intersect(r, d, 2) → M
  34. Line(M, g) → s
  35. Intersect(m, g) → N
  36. Intersect(s, a) → O
  37. Intersect(g, l) → P
  38. Intersect(d, n) → Q
  39. Circle(K, a_1 / 2) → t
  40. Intersect(t, b, 2) → R
  41. Circle(J, a_1 / 2) → k_1
  42. Intersect(k_1, b, 1) → S
  43. Line(S, a) → b_1
  44. Line(R, d) → j_1
  45. Intersect(b_1, g) → T
  46. Intersect(j_1, g) → U
  47. Polygon(A, H, N, J) → poly6, a_3, h_3, n_1, j_2
  48. Polygon(J, S, T, N) → poly7, j_3, s_1, t_1, n_2
  49. Polygon(C, K, P, D) → poly8, c_3, k_2, p_1, d_3
  50. Polygon(K, R, U, P) → poly9, k_3, r_1, u, p_2
  51. Polygon(C, Q, L, A) → poly10, c_4, q_1, l_1, a_4
  52. Polygon(D, M, O, H) → poly11, d_4, m_1, o, h_4
  53. Distance(f_2, a_1) → v
  54. Intersect(b, a_1) → V
  55. Intersect(b, a_1) → W
  56. Intersect(j_1, n) → Z
  57. Circle(Z, 0.5) → q_2
  58. Intersect(q_2, j_1, 1) → B_1
  59. Intersect(q_2, n, 2) → C_1
  60. Line(B_1, n) → b_2
  61. Line(C_1, j_1) → l_2
  62. Intersect(l_2, b_2) → D_1
  63. Intersect(s, b_1) → A_1
  64. Circle(A_1, 0.5) → r_2
  65. Intersect(r_2, s, 1) → E_1
  66. Intersect(r_2, b_1, 2) → F_1
  67. Line(E_1, b_1) → m_2
  68. Line(F_1, s) → s_2
  69. Intersect(m_2, s_2) → G_1
  70. Intersect(b_2, m_2) → H_1
  71. Intersect(l_2, s_2) → I_1
  72. Polygon(D_1, I_1, G_1, H_1) → poly12, d_5, i_4, g_4, h_5

AI Drawing Prompt Reference

Draw a chocolate bar wrapper with four rectangles and a circle. Start by drawing two parallel line segments a and b, then take points A and F on a, and points B and B' on b. Rotate B' around point A to create line segment d and e, and points C and E. Draw line segment f using point C and line a, and line segment h using point F and line b. Then, create polygon C-E-F-A, followed by polygons C-E-G-D, G-I-H-D, I-F-A-H, and F-E-G-I. Finally, draw circles A-F, C-f1, D-f1, K-a1/2, J-a1/2, S-a1/2, R-d, M-g, L-a, N-g, Q-g, T-a, and U-g, as well as polygons A-H-N-J and J-S-T-N.
The prompt above was compiled from the original drawing commands and is for reference only.