二次函數的圖形(3)
Author: 藍邦偉　老師

二次函數的圖形(3)

與x軸交點為

,

.

,

與y軸交點

頂點

$ O $

i = (1, 0)
j = (0, 1)
O = Point(i)
u = Vector((x(Corner[1]), 0), (x(Corner[3]), 0))
v = Vector((0, y(Corner[1])), (0, y(Corner[3])))
T_1 = Corner(1)
T_4 = Corner(4)
T_2: (7.2 * Corner[1] + 2.8 * Corner[2]) / 10
T_3: (7.2 * Corner[4] + 2.8 * Corner[3]) / 10
多邊形1, t_1, t_2, t_3, t_4 = Polygon(T_1, T_2, T_3, T_4)
r = Segment(T_2, T_3)
a = 0.5 (slider from -5 to 5, step 0.1)
h = 1 (slider from -5 to 5, step 0.1)
k = -2.5 (slider from -5 to 5, step 0.1)
c: y = a * (x - h)^(2) + k
A, B = Intersect(c, b)
d = false
V: (h, k)
e = false
f = false
F: (0, a * h^(2) + k)
ak: a * k
text1: "f(x)=" + a + "(x" + (If[h > 0, "-", "+"]) + (abs(h)) + ")²" + (If[k < 0, "-", "+"]) + (abs(k))
text2: "V(" + h + "," + k + ")"
text3: "A" + A + ",B" + B
text4: "(0," + k + ")"