f(x)=a(x-p)^2+k

אתחול

נוצר: שלמה הלר
בעריכת המרכז הארצי למורים למתמטיקה

p = 0 (slider from -5 to 5, step 1)
k = 0 (slider from -5 to 5, step 1)
a = 1 (slider from -5 to 5, step 1)
h = Function(2 * x^(2) - 2, -0.5, 0.5)
q_1 = Function(0.5 * (x + 1)^(2) + 1, -1.5, -0.5)
q = Function(0.5 * (x - 1)^(2) + 1, 0.5, 1.5)
g = Function(-0.5 * x^(2) + 5, -3, 3)
s = Function(-0.5 * (x + 1)^(2) + 1.5, -1.5, -0.5)
s_1 = Function(-0.5 * (x - 1)^(2) + 1.5, 0.5, 1.5)
r = Function(x^(2) - 4, -2, 2)
f = Function(a * (x - p)^(2) + k, -10, 10)
text2: "f(x)=" + (LaTeX[a]) + "(x-" + (LaTeX[p]) + ")^2+" + (LaTeX[k]) + ""
t = Expand(f)
text3: "f(x)=" + (LaTeX[t]) + ""