微分的應用(5)
Author: 藍邦偉  老師

$C$

$D$

$B$

$A$

微分的應用(5)

t = 3.3 (slider from 0 to k, step 0.1)
b: y = t
k = 5 (slider from -5 to 5, step 0.1)
a = -0.2 (slider from -5 to -0.1, step 0.1)
c: y = a * x^(2) + k
C, D = Intersect(c, b)
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.8 * Corner[1] + 0.2 * 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])
B: (x(C), 0)
A: (x(D), 0)
poly2, a_1, b_1, c_1, d = Polygon(A, B, C, D)
text2: "A=" + (LaTeX[poly2]) + ""
text3: "f(x)=" + (LaTeX[a]) + "x²+" + (LaTeX[k]) + ""