calc-022-funciones-cuadraticas

Vértice

Eje de simetría

Cortes con los ejes

a = 1 (slider from -5 to 5, step 0.05)
b = -2 (slider from -5 to 5, step 0.05)
xv: ((-b)) / ((2 * a))
c = -2 (slider from -5 to 5, step 0.05)
h(x) = (a * x^(2)) + (b * x) + c
C = Point(xAxis)
B = Point(xAxis)
e = Line(B, C)
yv: h(xv)
F, G = Intersect(h, e)
textoG: "" + (LaTeX[G]) + ""
textoF: "" + (LaTeX[F]) + ""
Vértice: (xv, yv)
d = false
Eje: x = x(Vértice)
g = false
texto1: "Coordenada\ x\ del\ vértice=\dfrac{-b}{2a}=" + (LaTeX[xv]) + ""
texto2: "Ecuación\ del\ eje: " + (LaTeX[Eje]) + ""
i = false
j: x = 0
A, D = Intersect(h, j)
textoA: "" + (LaTeX[A]) + ""
textoFb = If(yv ≤ 0, textoF, "")
textoGb = If(yv ≤ 0, textoG, "")
texto3: "" + (LaTeX[textoA]) + " " + (LaTeX[textoFb]) + "" + (LaTeX[textoGb]) + ""
texto4: "f(x)=ax^2+bx+c\\f(x)=" + (LaTeX[h]) + ""