多項式(26)
Author: 藍邦偉　老師

A

B

P

S

Z

Y

X

R

Q

設\overline{PB}=x,\overline{PA}=20-x⇒\overline{RQ}=\frac{20-x}{4},\overline{XQ}=\overline{XP}-\overline{PQ}=\frac{x}{4}-(5-\frac{x}{4})=\frac{x}{2}-5

\overline{RX}²=\left( 5-\frac{x}{4}  \right)²+ \left( \frac{x}{2}-5  \right)²=\frac{5}{16} x²-\frac{15}{2}x+50=\frac{5}{16}(x²-24x+12²)+5

\overline{RX}=\sqrt{\frac{5}{16}(x-12)²+5},此時\overline{PB}=12⇒\overline{PA}=8

A = (-3.34, 0.72)
B: A + (13, 0)
a = Segment(A, B)
P = Point(a)
C = Midpoint(A, P)
S = Midpoint(C, P)
E = Midpoint(P, B)
Z = Midpoint(P, E)
poly1, s, p, b, c, Q, R = Polygon(S, P, 4)
poly2, p_1, z, d, e, Y, X = Polygon(P, Z, 4)
f = Segment(R, X)
D = (-4.16, -2.7)
D_1: D + (3.5, 0)
D_3: D + (0, 1.8)
D_2: D_1 + D_3 - D
poly3, d_1, d_2, d_3, d_4 = Polygon(D, D_1, D_2, D_3)
n = 0 (slider from 0 to 4, step 1)