2D 座標架
Author: 藍邦偉  老師

$ O $

$繪函數圖形$

f(x)=

1

Show f(x)

k = 1 (slider from 1 to 3, step 1)
list2: {1, 0.5, 0.1}
u = Vector((x(Corner[1]), 0), (x(Corner[3]), 0))
v = Vector((0, y(Corner[1])), (0, y(Corner[3])))
O = (0, 0)
Q_2: 0.7 * Corner[1] + 0.3 * Corner[2]
Q_3: (x(Q_2), y(Corner[4]))
poly1, q_1, q_2, q_4, q_3 = Polygon(Corner[1], Q_2, Q_3, Corner[4])
f(x) = x^(3) - 3 * x
inputBox1 = Textfield(f)
t = -9.074876342300612 (slider from x(Q_2) to x(Corner[2]), step 0.0010)
n0 = Element(list2, k)
list1 = Sequence((s, f(s)), s, floor(x(Q_2)), floor(t), n0)
a = false
text1: "f(x)=" + (LaTeX[f]) + ""