Kahe \; erinimeliste \; harilike \; murdude \; liitmine

A = (2.3, 3.98)
c = Circle(A, 3)
B = (15.86, 4.06)
d = Circle(B, 3)
C = Point(c)
D = Point(d)
f = Segment(A, C)
g = Segment(B, D)
nimetaja_{1} = 7 (slider from 2 to 100, step 1)
lugeja_{1} = 1 (slider from 1 to nimetaja_{1}, step 1)
nimetaja = 10 (slider from 2 to 100, step 1)
lugeja = 4 (slider from 1 to nimetaja, step 1)
l1 = Sequence(Segment[A, Rotate[C, f°, A]], f, (360°) / nimetaja_{1}, 360, 360 / nimetaja_{1})
l2 = Sequence(Segment[B, Rotate[D, g°, B]], g, (360°) / nimetaja, 360, 360 / nimetaja)
C' = Rotate(C, (360° * lugeja_{1} / nimetaja_{1}), A)
α = Angle(C, A, C')
D' = Rotate(D, (-((360° * lugeja / nimetaja))), B)
β = Angle(D', B, D)
e = CircleSector(A, C, C')
h = CircleSector(B, D', D)
s = LCM(nimetaja_{1}, nimetaja)
t: (lugeja_{1} * s / nimetaja_{1}) + (lugeja * s / nimetaja)
text1: "\frac{" + (LaTeX[lugeja_{1}]) + "}{" + (LaTeX[nimetaja_{1}]) + "}"
text2: "\frac{" + (LaTeX[lugeja]) + "}{" + (LaTeX[nimetaja]) + "}"
text3: "\frac{" + (LaTeX[lugeja_{1}]) + "}{" + (LaTeX[nimetaja_{1}]) + "}+\frac{" + (LaTeX[lugeja]) + "}{" + (LaTeX[nimetaja]) + "}=\frac{" + (LaTeX[t]) + "}{" + (LaTeX[s]) + "}"