有理數得的作圖
Author: 藍邦偉  老師

$ O $

$第%v步$

$ 有理數的作圖 $

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.8 * Corner[1] + 0.2 * 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])
m = 8 (slider from 1 to 8, step 1)
n = 3 (slider from 1 to 10, step 1)
T = (1.5367472527472537, 1.7103626373626377)
a = Ray(O, T)
A: (m, 0)
List_1 = Sequence(O + k * Vector[O, T], k, 1, n)
text1: "\frac{m}{n}=\frac{" + (LaTeX[m]) + "}{" + (LaTeX[n]) + "}"
List_2 = Sequence(Circle[Element[List_1, k], Distance[O, T]], k, 1, n)
s = 0 (slider from 0 to 8, step 1)
b = Segment(A, Element[List_1, n])
c = Line(T, b)
B = Intersect(xAxis, c)
t_A: "A(" + (x(A)) + ")"
d = Circle(O, Distance[O, T])
t_B: "B(\;" + (FractionText[x(B)]) + "\;)"