單項函數的圖形(2)
Author: 藍邦偉  老師

x

y=x²

y=x³

y=x⁴

單項函數的圖形(2)

a = 1 (slider from -5 to 5, step 0.01)
k = 0 (slider from -5 to 5, step 0.1)
A = (-4, 0)
B = (4, 0)
C = (0, -4)
D = (0, 4)
e = -5 (slider from -5 to 5, step 0.01)
h(x) = a * x^(2) + k
P: (e, h(e))
f(x) = a * x^(3) + k
Q: (e, f(e))
a_5 = false
b = false
c = false
u = Vector((x(Corner[1]), 0), (x(Corner[3]), 0))
v = Vector((0, y(Corner[1])), (0, y(Corner[3])))
A_1 = Corner(1)
A_4 = Corner(4)
A_2: (7 * Corner[1] + 3 * Corner[2]) / 10
A_3: (7 * Corner[4] + 3 * Corner[3]) / 10
多邊形1, a_1, a_2, a_3, a_4 = Polygon(A_1, A_2, A_3, A_4)
d = Segment(A_2, A_3)
text3: "y=" + (LaTeX[a]) + "x⁴" + (LaTeX[If[k < 0, "-", "+"]]) + "" + (LaTeX[k]) + ""
text2: "y=" + (LaTeX[a]) + "x³" + (LaTeX[If[k < 0, "-", "+"]]) + "" + (LaTeX[k]) + ""
text1: "y=" + (LaTeX[a]) + "x²" + (LaTeX[If[k < 0, "-", "+"]]) + "" + (LaTeX[k]) + ""
g(x) = a * x^(4) + k
R: (e, g(e))