四次函數的圖形
Author: 余玲婕

a=

b=

c=

d=

e=

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 = -1.2 (slider from -5 to 5, step 0.1)
b = 0.4 (slider from -5 to 5, step 0.1)
c = 3.6 (slider from -5 to 5, step 0.1)
d = -0.3 (slider from -5 to 5, step 0.1)
e = 5 (slider from -5 to 5, step 0.1)
f(x) = a * x^(4) + b * x^(3) + c * x^(2) + d * x + e
A, B, C = Extremum(f)
D, E = TurningPoint(f)
text1: "當x=" + (LaTeX[x(C)]) + "時有極值" + (LaTeX[y(C)]) + ""
text3: "當x=" + (LaTeX[x(E)]) + "時有極值" + (LaTeX[y(E)]) + ""
text2: "當x=" + (LaTeX[x(D)]) + "時有極值" + (LaTeX[y(D)]) + ""
inputBox1 = Textfield(a)
inputBox2 = Textfield(b)
inputBox3 = Textfield(c)
inputBox4 = Textfield(d)
inputBox5 = Textfield(e)