正弦函數
Author: 藍邦偉　老師

θ

正弦函數的圖形

y=sinx

A = Point(xAxis)
c = Circle(A, 1)
B = Point(c)
a = Segment(A, B)
O = Intersect(xAxis, yAxis)
θ = 0 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
B' = Rotate(B, θ, A)
β = Angle(B, A, B')
e: x = (θ * 3.141592653589793 / 180)°
f(x) = sin(x)
α: (β * 3.141592653589793 / 180)°
C: (θ, sin(θ))
g = OrthogonalLine(C, xAxis)
h = OrthogonalLine(B', a)
D = Intersect(g, xAxis)
E = Intersect(h, a)
F = Intersect(h, xAxis)
i = Segment(C, D)
j = Segment(B', F)
k = Segment(O, D)
l = Segment(B', A)
T_1: (x(Corner[1]), 0)
T_2: (x(Corner[2]), 0)
T_4: (0, y(Corner[4]))
u = Vector(T_1, T_2)
T_3: (0, y(Corner[1]))
v = Vector(T_3, T_4)
p = Function(sin(x), 0, θ)