圓的參數式
Author: 藍邦偉  老師

$ O $

$ 圓的參數式$

$ Q $

u = Vector((x(Corner[1]), 0), (x(Corner[3]), 0))
v = Vector((0, y(Corner[1])), (0, y(Corner[3])))
O = (0, 0)
Q_2: 0.7 * Corner[1] + 0.3 * Corner[2]
Q_3: (x(Q_2), y(Corner[4]))
poly1, q_1, q_2, q_4, q_3 = Polygon(Corner[1], Q_2, Q_3, Corner[4])
a = -2 (slider from -5 to 5, step 1)
b = 1 (slider from -5 to 5, step 1)
Q: (a, b)
r = 4 (slider from 1 to 5, step 1)
c: (x - a)^(2) + (y - b)^(2) = r^(2)
Q_A: Q + (r, 0)
α = 1.9289378893041331 rad (slider from 0 to 6.28318530717959, step 0.01*°)
Q_B = Rotate(Q_A, α, Q)
β = Angle(Q_A, Q, Q_B)
d = Segment(Q, Q_A)
e = Segment(Q, Q_B)
Q_C: (x(Q_B), y(Q))
f = Segment(Q_C, Q_B)
Q_D: Q - (r, 0)
g = Segment(Q, Q_D)
h = Segment(Q, Q_C)
text1: "$ 圓心為" + (LaTeX[Q]) + "且半徑為 " + (LaTeX[r]) + "的圓$
$參數式為：$
$\left\lbrace \begin{array}{ll} x=" + (LaTeX[a]) + " +" + (LaTeX[r]) + "cosθ \\ y= " + (LaTeX[b]) + "+" + (LaTeX[r]) + "sinθ\\ \end{array}  \right.\ $
$\;\;\;\;\;0≤θ<2π$"