Adjust the leading coefficient and vertex coordinates to make the blue parabola match the orange parabola.
How do these numbers affect the shape and position of a parabola?
graphInit({
range: 10,
scale: 20,
tickStep: 1,
axisArrows: "<->"
});
// Plot the orange parabola
style({
stroke: "#FFA500",
fill: "none",
clipRect:[[-10, -10], [20, 20]],
arrows: null
});
plot(new Parabola(A, X1, Y1).graphieFunction, [-10, 10]);
style({
stroke: "#6495ED",
strokeWidth: 3,
fill: "none",
clipRect:[[-10, -10], [20, 20]],
arrows: null
});
graph.currParabola = new Parabola(1, 0, 0);
graph.currParabola.plot();
[A, X1, Y1]
var parab = graph.currParabola;
return parab.getLeadingCoefficient() === A &&
parab.getVertexX() === X1 &&
parab.getVertexY() === Y1;
guess = guess.length ? guess : [1, 0, 0];
var parab = graph.currParabola;
parab.update.apply(parab, guess);
redrawParabola(false);
guess = guess.length ? guess : [1, 0, 0];
var a = guess[0],
x = guess[1],
y = guess[2];
var equation = "y - " + y + "=" + a + "(x - " + x + ")^{2}";
equation = cleanMath(equation);
$("#equation-label").html("<code>" + equation + "</code>").tex();