y=cscx
Author: 藍邦偉 老師

y=cscx

θ

A = Point(xAxis)
c = Circle(A, 1.0)
θ = 3.6142 rad (slider from 0 to 6.283185307179586, step 0.0017)
B = Point(c)
B' = Rotate(B, θ, A)
a = Segment(B', A)
b = Ray(A, B')
C = Intersect(d, b)
e = Segment(A, C)
f(x) = 1.0 / sin(x)
D = Intersect(g, b)
h = Segment(A, D)
P: (θ, 1.0 / sin(θ))
i = OrthogonalLine(P, xAxis)
E = Intersect(i, xAxis)
j = Segment(P, E)
α = Angle(B, A, C)
F = Intersect(xAxis, yAxis)
k = Segment(F, E)
β = Angle(B, A, B')
u = Vector((x(Corner[1.0]), 0.0), (x(Corner[2.0]), 0.0))
w = Vector((0.0, y(Corner[1.0])), (0.0, y(Corner[3.0])))
l = Segment(F, E)