Graph of Cosine from Wrapping Function by Margaret Patterson
Loading the math board and drawing, please wait…
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
Intersect(xAxis, yAxis) → ACircle(A, 1) → cOrthogonalLine(W, xAxis) → aIntersect(xAxis, a) → BSegment(B, W) → bSegment(B, A) → dSegment(A, W) → eTextfield(speed) → SPDTextfield(t) → tEqIf(togTr ≟ 1, "Stop Traces", "Show Traces") → ControlTracesIf(togA ≟ 1, "Stop Animation", "Start Animation") → ToggleAnimationCircle(A, B) → hMod(t, 1.5707963267948966) → tmCircle((0, 0), abs(cos(t))) → kArc(k, (cos(t), 0), (0, cos(t))) → p