Graph of Cosine from Wrapping Function by Margaret Patterson

Graph of Cosine from Wrapping Function by Margaret Patterson
Loading the math board and drawing, please wait…
2015-06-22 04:21
This example demonstrates how to generate the graph of a cosine function using a wrapping function. Key mathematical concepts include trigonometric functions and graphing. GeoGebra commands used include Intersect, Circle, OrthogonalLine, Segment, Textfield, If, Mod, Arc, etc. Suitable for high school mathematics education and learning.

GeoGebra Commands & Parameters

  1. Intersect(xAxis, yAxis) → A
  2. Circle(A, 1) → c
  3. OrthogonalLine(W, xAxis) → a
  4. Intersect(xAxis, a) → B
  5. Segment(B, W) → b
  6. Segment(B, A) → d
  7. Segment(A, W) → e
  8. Textfield(speed) → SPD
  9. Textfield(t) → tEq
  10. If(togTr ≟ 1, "Stop Traces", "Show Traces") → ControlTraces
  11. If(togA ≟ 1, "Stop Animation", "Start Animation") → ToggleAnimation
  12. Circle(A, B) → h
  13. Mod(t, 1.5707963267948966) → tm
  14. Circle((0, 0), abs(cos(t))) → k
  15. Arc(k, (cos(t), 0), (0, cos(t))) → p