cos関数のグラフと円の関係

cos関数のグラフと円の関係を調べましょう。

コサイン関数

a = 1.0676 (slider from 0 to 6.28, step 0.0314)
A = (-2, 0)
B: A + (cos(a), sin(a))
C: (cos(a), 0) + A
b = Segment(B, C)
d = Segment(A, C)
e = Segment(A, B)
D: (a, 0)
D': (a, cos(a))
f = Segment(D', D)
E = Intersect(xAxis, yAxis)
g = Segment(E, D)
F = Intersect(c, xAxis, 2)
h = CircleArc(A, F, B)