廣義三角函數 (1)
Author: 藍邦偉  老師

cosθ

sinθ

sin(180°-θ)

cos(180°-θ)

sinθ

cosθ

tanθ

sinθ

tanθ

tan(180°-θ)

-tanθ

180°-θ

θ

180°-θ

O: 0.5 * (Corner[1.0] + Corner[3.0])
u = Vector((x(Corner[1.0]), y(O)), (x(Corner[3.0]), y(O)))
v = Vector((x(O), y(Corner[1.0])), (x(O), y(Corner[3.0])))
c = Circle(O, 1.0)
a: x = x(O) + 1.0
θ = 0.6771877497737998 rad (slider from 0 to 1.5707963267948966, step 0.0017453292519943296)
P_1: O + (cos(θ), sin(θ))
P_2: O + (-cos(θ), sin(θ))
b = Ray(O, P_1)
A = Intersect(b, a)
P_3: (x(P_1), y(O))
P_4: (x(P_2), y(O))
d = Segment(O, P_3)
e = Segment(P_3, P_1)
g = Segment(O, P_2)
h = Segment(P_2, P_4)
i = Segment(P_4, O)
P_5: (x(O), y(A))
k = Ray(P_2, O)
B = Intersect(k, a)
l = Segment(O, B)
P_6: O + (1.0, 0.0)
j = false
m = false
n = false
P_7: (x(O), y(P_1))
p = Segment(O, P_7)
q = Segment(A, P_6)
r = Segment(B, P_6)
P_8: (x(O), y(B))
s = Segment(O, P_8)
f = Segment(A, O)
文字1: "sin(180°-" + θ + ")=" + (sin(θ))
文字2: "cos(180°-" + θ + ")=" + (cos(180.0° - θ))
文字3: "tan(180°-" + θ + ")=" + (tan(180.0° - θ))
Q_1: O + (0.15, 0.0)
Q_2: O + (0.15 * cos(θ), 0.15 * sin(θ))
C = Point(u)
t = CircleArc(O, Q_1, Q_2)
Q_3: O + (0.3, 0.0)
Q_4: O + (-(0.3) * cos(θ), 0.3 * sin(θ))
c_1 = CircleArc(O, Q_3, Q_4)