三線段距離和的最小值
Author: 藍邦偉  老師
Date: 17 1 月 2013

$A$

$B$

$P$

$Q$

$A'$

$B'$

顯示正確作圖

$ 三線段 距離和的最小值$

$ 顯示答案 $

R_1 = Point(yAxis)
R_2 = Intersect(xAxis, yAxis)
a = Segment(R_1, R_2)
R_3 = Point(xAxis)
b = Segment(R_2, R_3)
A = (2.2221788129226123, 3.6223741547708497)
B = (4.8, 2.12)
P = Point(a)
Q = Point(b)
c = Segment(A, P)
d = Segment(P, Q)
e = Segment(Q, B)
A' = Mirror(A, a)
B' = Mirror(B, b)
f = Segment(A', B')
E = Intersect(f, a)
F = Intersect(f, b)
g = Segment(A', A)
h = Segment(B, B')
i = true
R_4: R_1 + R_3 - R_2
poly1, r_1, r_2, r_3, r_4 = Polygon(R_1, R_2, R_3, R_4)
text1: "$ \;\;\;\;\overline{AP}+\overline{PQ}+\overline{QB}$
$= " + (LaTeX[c]) + "+" + (LaTeX[d]) + "+" + (LaTeX[e]) + "=" + (LaTeX[c + d + e]) + "$"