semieix menor (b)

semidistància focal (c)

CGE 2008

vèrtex

vèrtex

vèrtex

b = 3 (slider from 0.1 to 10, step 0.1)
centre = (0, 0)
a = 4 (slider from 1 to 5, step 0.1)
c: sqrt(a^(2) + b^(2))
F: centre + (c, 0)
F': centre + (-c, 0)
hipèrbola = Hyperbola(F, F', a)
K, L = Intersect(hipèrbola, xAxis)
d = Circle(centre, F)
asímptota_1, asímptota_2 = Asymptote(hipèrbola)
H, I = Intersect(d, asímptota_1)
E, G = Intersect(d, asímptota_2)
rectangle__auxiliar, g, i_1, e_1, h_1 = Polygon(G, I, E, H)
J = Intersect(g, yAxis)
e: c / a
P = Point(hipèrbola)
d_1 = Segment(P, F)
d_2 = Segment(P, F')
semidistància__focal = Segment(centre, F)
text4: "equació --> " + hipèrbola
text1: "\begin{matrix} a = " + a + "\\ b = " + b + "\\ c \,\,=\,\,  \sqrt{a^2+b^2} \,\,=\,\," + c + "\\ |d_1 - \,d_2| \,\, =\,\, 2a\,\, =\,\, " + (d_1 - d_2) + "  \\ focus\,\, " + F + " \,\, " + F' + " \\ excentricitat \,\,=\,\,\frac{c}{a}\,\,=\,\, " + e + " \\ vertexs \,\, " + L + " \, " + K + "\\asímptotes \," + asímptota_1 + " \,," + asímptota_2 + "\end{matrix}"
semieix__menor = Segment(centre, Midpoint[g])
semieix__major = Segment(centre, Midpoint[h_1])