四次函數的圖形
Author: 陳致豪

a=

b=

c=

d=

e=

u = Vector((x(Corner[1]), 0), (x(Corner[3]), 0))
v = Vector((0, y(Corner[1])), (0, y(Corner[3])))
a = 0.6 (slider from -5 to 5, step 0.1)
b = 1.7 (slider from -5 to 5, step 0.1)
c = -3.7 (slider from -5 to 5, step 0.1)
d = -3.5 (slider from -5 to 5, step 0.1)
e = 2 (slider from -5 to 5, step 0.1)
f_1(x) = a * x^(4) + b * x^(3) + c * x^(2) + d * x + e
f = 6.32 (slider from y(Corner[2]) to y(Corner[3]), step 0.1)
g: y = f
inputBox1 = Textfield(a)
inputBox2 = Textfield(b)
inputBox3 = Textfield(c)
inputBox4 = Textfield(d)
inputBox5 = Textfield(e)
A, A_2 = TurningPoint(f_1)
B, C, D = Extremum(f_1)
text1: "當X=" + (LaTeX[x(D)]) + "時,f(x)有極值" + (LaTeX[y(D)]) + ""
text2: "反曲點(" + (LaTeX[x(A_2)]) + "," + (LaTeX[y(A_2)]) + ")"
text3: "當X=" + (LaTeX[x(C)]) + "時,f(x)有極值" + (LaTeX[y(C)]) + ""
text4: "反曲點(" + (LaTeX[x(A)]) + "," + (LaTeX[y(A)]) + ")"
text5: "當X=" + (LaTeX[x(B)]) + "時,f(x)有極值" + (LaTeX[y(B)]) + ""