圓的直徑式
Author: 藍邦偉　老師

圓的直徑式

任意移動A,B兩點為直徑的兩端點

半圓的圓週角是直角

$ ∵\overrightarrow{AP}\cdot\overrightarrow{BP}=0 $

u = Vector((x(Corner[1]), 0), (x(Corner[3]), 0))
v = Vector((0, y(Corner[1])), (0, y(Corner[3])))
A = (8, -2)
B = (-2, 10)
C = Midpoint(A, B)
c = Circle(C, A)
a = Segment(B, A)
α = 6.2482787221397 rad (slider from 0*° to 6.283185307179586, step 0.017453292519943295)
P: (x(C) + a / 2 * cos(α), y(C) + a / 2 * sin(α))
多邊形1, b, p, a_1 = Polygon(P, A, B)
w = Vector(A, P)
q = Vector(B, P)
n = 0 (slider from 0 to 5, step 1)
text2: "(x" + (If[x(A) < 0, "+", "-"]) + (abs(x(A))) + ")(x" + (If[x(B) < 0, "+", "-"]) + (abs(x(B))) + ")+(y" + (If[y(A) < 0, "+", "-"]) + (abs(y(A))) + ")(y" + (If[y(B) < 0, "+", "-"]) + (abs(y(B))) + ")=0"