圓的標準式
Author: 藍邦偉　老師

圓的標準式

Q

h=

k=

r=

h=

k=

r=

u = Vector((x(Corner[1]), 0), (x(Corner[3]), 0))
v = Vector((0, y(Corner[1])), (0, y(Corner[3])))
d = NaN (slider from -5 to 5, step 0.1)
T_1 = Corner(1)
T_4 = Corner(4)
T_3: (7 * Corner[4] + 3 * Corner[3]) / 10
T_2: (7 * Corner[1] + 3 * Corner[2]) / 10
多邊形1, t_1, t_2, t_3, t_4 = Polygon(T_1, T_2, T_3, T_4)
h = 1 (slider from -5 to 5, step 0.1)
k = 1 (slider from -5 to 5, step 0.1)
r = 3 (slider from 1 to 8, step 0.1)
C_2: (x - h)^(2) + (y - k)^(2) = r^(2)
Q_2: (h, k)
a = Segment(T_2, T_3)
inputBox1 = Textfield(h)
inputBox2 = Textfield(k)
inputBox3 = Textfield(r)
text4: "(x" + (If[h < 0, "+", "-"]) + (abs(h)) + ")²+(y" + (If[k < 0, "+", "-"]) + (abs(k)) + ")²=" + (r^(2))