Dance with the Sine Waves

Dance with the Sine Waves
Loading the math board and drawing, please wait…
2020-12-01 20:28
This example demonstrates the dynamic changes of sine curves. It involves core mathematical concepts of sine and cosine functions. Using GeoGebra commands such as Intersect, Integral, Segment, etc., complex graphics can be constructed. Suitable for high school mathematics education, especially for learning analytic geometry and trigonometry.

GeoGebra Commands & Parameters

  1. Intersect(f, g, (5.542501724271062, 0)) → B
  2. Intersect(f, g, (14.154258972009975, 0)) → C
  3. Integral(h, x(B), x(C)) → b
  4. Segment(B, C) → i
  5. Max(h, x(B), x(C)) → G
  6. OrthogonalLine(G, g) → k
  7. Intersect(f, g, (7.871073664817033, 0)) → L
  8. Intersect(f, g, (11.8256870314506, 0)) → M
  9. Integral(h, x(L), x(B)) → n
  10. Integral(h, x(C), x(M)) → o
  11. Intersect(f, g, (-0.740683582928259, 0)) → A
  12. Intersect(f, g, (1.587888357637607, 0)) → D
  13. Intersect(f, g, (20.43744427917633, 0)) → E
  14. Intersect(f, g, (18.108872338624618, 0)) → N
  15. Intersect(f, g, (26.72063, 0)) → O
  16. Intersect(f, g, (24.392057645809864, 0)) → P
  17. Intersect(f, g, (-4.695296949542135, 0)) → Q
  18. Intersect(f, g, (-7.023868890107979, 0)) → S
  19. Integral(h, x(S), x(Q)) → e
  20. Integral(h, x(Q), x(A)) → j
  21. Integral(h, x(A), x(D)) → u
  22. Integral(h, x(D), x(B)) → w
  23. Integral(h, x(C), x(N)) → a_1
  24. Integral(h, x(N), x(E)) → b_1
  25. Integral(h, x(E), x(P)) → e_1
  26. Integral(h, x(P), x(O)) → g_1
  27. Integral(h_1, x(B) - 15, x(C) + 18) → i_1
  28. Sequence(Midpoint[Element[l2, i], Element[l2, i + 1]], i, 1, Length[l2]) → l1
  29. Sequence(Element[l1, i] + (-0.15, 1), i, 1, Length[l1]) → l3
  30. Sequence(Element[l1, i] + (0.15, 1), i, 1, Length[l1]) → l4
  31. Sequence(Element[l1, i] + (0, 1), i, 1, Length[l1]) → l5
  32. Sequence(Element[l1, i] + (-0.3, 0.65), i, 1, Length[l1]) → l6
  33. Sequence(Element[l1, i] + (0.3, 0.65), i, 1, Length[l1]) → l7
  34. Sequence(CircleArc[Element[l5, i], Element[l6, i], Element[l7, i]], i, 1, Length[l5]) → l8
  35. CurveCartesian((i, r(i)), i, x(L), x(M)) → c
  36. CircleArc(F, K, T) → s
  37. Circle(I, 0.15) → t
  38. Circle(J, 0.15) → c_1
  39. Line(L, M) → m

AI Drawing Prompt Reference

Draw a dynamic graph with sine and cosine curves intersecting at multiple points. Connect adjacent intersection points with line segments, and shade the areas between the curves and the x-axis within each interval. At the highest point of one curve, draw a vertical line intersecting the other curve. Place small circles and arcs near intersections as decorative elements. Along the curve path, evenly distribute a series of small arcs to simulate dancing motion on the waves. Finally, draw an additional curve over a specific interval and add auxiliary lines connecting relevant intersection points. The overall composition highlights the geometric beauty and dynamic changes of trigonometric functions.
The prompt above was compiled from the original drawing commands and is for reference only.