Graph of Sine Function

Graph of Sine Function
Loading the math board and drawing, please wait…
2019-12-15 01:14
This example demonstrates the graph of the sine function, showcasing its periodicity and amplitude. Key mathematical concepts include trigonometry and graphing. Construction points include using GeoGebra's If and Sequence commands to create the sine function's expression, and using the Locus command to plot the function's graph. Suitable for middle school and high school mathematics, particularly for learning functions and trigonometry.

GeoGebra Commands & Parameters

  1. If(((2 * π) * b / a) ≥ α ≥ 0, (α, sin(α))) → A
  2. Locus(A, α) → loc1
  3. Sequence(If[sin(((2 * π) * k / a)) ≟ 0, (-0.1 + ((2 * π) * k / a), 0.12 + sin(((2 * π) * k / a))), sin(((2 * π) * k / a)) ≟ 1, (-0.1 + ((2 * π) * k / a), -0.05 + sin(((2 * π) * k / a))), sin(((2 * π) * k / a)) ≟ -1, (-0.1 + ((2 * π) * k / a), 0.22 + sin(((2 * π) * k / a))), sin(((2 * π) * k / a)) > 0, (-0.2 + ((2 * π) * k / a), 0.2 + sin(((2 * π) * k / a))), (-0.2 + ((2 * π) * k / a), -0.08 + sin(((2 * π) * k / a)))], k, 0, b) → l3
  4. Sequence((((2 * π) * k / a), sin(((2 * π) * k / a))), k, 0, b) → l1
  5. Sequence(Text[(((("(" * If[i ≟ 0, "0", i ≟ a / 2, "π", (FractionText[(2 * i / a)] * "π")]) * ",") * If[sin(((2 * π) * i / a)) ≟ sin(π / 4), text1, sin(((2 * π) * i / a)) ≟ (-sin(π / 4)), ("-" * text1), sin(((2 * π) * i / a)) ≟ sin(π / 12), text14, sin(((2 * π) * i / a)) ≟ (-sin(π / 12)), ("-" * text14), sin(((2 * π) * i / a)) ≟ sin((5 * π / 12)), text15, sin(((2 * π) * i / a)) ≟ (-sin((5 * π / 12))), ("-" * text15), sin(((2 * π) * i / a)) ≟ sin(π / 3), text3, sin(((2 * π) * i / a)) ≟ (-sin(π / 3)), ("-" * text3), sin(((2 * π) * i / a)) ≟ sin(π / 8), text6, sin(((2 * π) * i / a)) ≟ (-sin(π / 8)), ("-" * text6), sin(((2 * π) * i / a)) ≟ sin((3 * π / 8)), text8, sin(((2 * π) * i / a)) ≟ (-sin((3 * π / 8))), ("-" * text8), sin(((2 * π) * i / a)) ≟ sin(π / 10), text10, sin(((2 * π) * i / a)) ≟ (-sin(π / 10)), ("-" * text10), sin(((2 * π) * i / a)) ≟ sin((2 * π / 10)), text11, sin(((2 * π) * i / a)) ≟ (-sin((2 * π / 10))), ("-" * text11), sin(((2 * π) * i / a)) ≟ sin((3 * π / 10)), text12, sin(((2 * π) * i / a)) ≟ (-sin((3 * π / 10))), ("-" * text12), sin(((2 * π) * i / a)) ≟ sin((4 * π / 10)), text13, sin(((2 * π) * i / a)) ≟ (-sin((4 * π / 10))), ("-" * text13), FractionText[sin(((2 * π) * i / a))]]) * ")"), Element[l3, i + 1], true, true], i, 0, b) → l2
  6. TableText(Sequence[If[i ≟ 0, "0", (2 * i) ≟ a, " π ", (FractionText[(2 * i / a)] * π)], i, 0, b], Sequence[If[sin(((2 * π) * i / a)) ≟ sin(π / 4), text1, sin(((2 * π) * i / a)) ≟ (-sin(π / 4)), ("-" * text1), sin(((2 * π) * i / a)) ≟ sin(π / 3), text3, sin(((2 * π) * i / a)) ≟ (-sin(π / 3)), ("-" * text3), sin(((2 * π) * i / a)) ≟ sin(π / 12), text14, sin(((2 * π) * i / a)) ≟ (-sin(π / 12)), ("-" * text14), sin(((2 * π) * i / a)) ≟ sin((5 * π / 12)), text15, sin(((2 * π) * i / a)) ≟ (-sin((5 * π / 12))), ("-" * text15), sin(((2 * π) * i / a)) ≟ sin(π / 8), text6, sin(((2 * π) * i / a)) ≟ (-sin(π / 8)), ("-" * text6), sin(((2 * π) * i / a)) ≟ sin((3 * π / 8)), text8, sin(((2 * π) * i / a)) ≟ (-sin((3 * π / 8))), ("-" * text8), sin(((2 * π) * i / a)) ≟ sin((2 * π / 10)), text11, sin(((2 * π) * i / a)) ≟ (-sin((2 * π / 10))), ("-" * text11), sin(((2 * π) * i / a)) ≟ sin(π / 10), text10, sin(((2 * π) * i / a)) ≟ (-sin(π / 10)), ("-" * text10), sin(((2 * π) * i / a)) ≟ sin((3 * π / 10)), text12, sin(((2 * π) * i / a)) ≟ (-sin((3 * π / 10))), ("-" * text12), sin(((2 * π) * i / a)) ≟ sin((4 * π / 10)), text13, sin(((2 * π) * i / a)) ≟ (-sin((4 * π / 10))), ("-" * text13), FractionText[sin(((2 * π) * i / a))]], i, 0, b], "c_|h") → text5

AI Drawing Prompt Reference

Draw a periodic sine-function graph in a single coordinate plane. Use a parameter range from 0 to b to generate a sequence of angles α, and at each α construct the point (α, sin(α)) to form the sine curve from the sampled values. Additionally, build the plotted points/segments by applying conditional y-offsets around sin(α) at selected reference levels (including cases where sin(α) matches 0, 1, −1, and where sin(α) is positive), so the curve is represented with marked stages. Add label text along the horizontal axis for the same parameter points: show 0 at α=0, show π at α=a, and for intermediate angles display fractional multiples of π (using the form (2i/a)·π), with special signed reference labels tied to the cases sin(α)=sin(π/4), sin(π/12), sin(5π/12), sin(π/3), sin(π/8), sin(3π/8), sin(π/10), sin(2π/10), sin(3π/10), and sin(4π/10).
The prompt above was compiled from the original drawing commands and is for reference only.