四次函數的圖形
Author: 陳韋丞

a=

b=

c=

d=

e=

a = 1 (slider from -5 to 5, step 0.1)
b = -1 (slider from -5 to 5, step 0.1)
c = -5 (slider from -5 to 5, step 0.1)
d = 4 (slider from -5 to 5, step 1)
e = -4 (slider from -8 to 5, step 1)
f(x) = a * x^(4) + b * x^(3) + c * x^(2) + d * x + e
U = Vector((x(Corner[1]), 0), (x(Corner[3]), 0))
V = Vector((0, y(Corner[1])), (0, y(Corner[3])))
g = 0.9408221571369246 (slider from y(Corner[1]) to y(Corner[3]), step 0.01)
h: y = g
A, B = TurningPoint(f)
C, D, E = Extremum(f)
F, G, H, I = Intersect(f, h)
inputBox2 = Textfield(a)
inputBox1 = Textfield(a)
inputBox3 = Textfield(b)
inputBox4 = Textfield(c)
inputBox5 = Textfield(d)
inputBox6 = Textfield(e)
text6: "當x=" + (x(C)) + "有最小值y=" + (y(C)) + ""
text7: "當x=" + (x(D)) + "有最大值y=" + (y(D)) + ""
text8: "反曲點A=" + A + ",B=" + B + ""