c =

a =

b =

\text{3. Zostrojíme trojuholník }ABC

\text{Položme si základnú otázku: 

\text{Kedy existuje priesečník }C?

\text{Odpoveď: Ak pre vzdialenosť } \left| AB \right| \text{ stredov kružníc }k_1, k_2 \text{ platí:  

\left|  r_1 - r_2 \right|  ≤ \left|  AB \right| ≤ r_1 + r_2 

\text{Nastavte hodnoty posuvníkov, tak aby nastala aspoň jedna rovnosť

a = 5 (slider from 1 to 20, step 0.1)
b = 9 (slider from 1 to 20, step 0.1)
c = 7 (slider from 1 to 20, step 0.1)
text1: "\text{Zostrojte trojuholník }ABC\text{ so stranami }a =" + (LaTeX[a]) + "  , b =" + (LaTeX[b]) + "  , c =" + (LaTeX[c]) + "  "
A = (-1, -2)
d = Circle(A, c)
B = Point(d)
f = Segment(A, B)
text2: "\text{1. Zostrojíme úsečku }AB: \left| AB \right| =" + (LaTeX[c]) + "  "
e = Circle(A, b)
g = Circle(B, a)
text3: "\text{2. Vrchol C ∈ k_1∩ k_2, kde k_1(A, r_1= " + (LaTeX[b]) + ") a k_2(B, r_2= " + (LaTeX[a]) + ")"
C = Intersect(e, g, 1)
t1, c_1, a_1, b_1 = Polygon(A, B, C)