Date: 22 3 月 2013

\frac{5x²+8x+5}{x²+1}

\frac{10x+8}{2x}

f(x) = (5 * x^(2) + 8 * x + 5) / (x^(2) + 1)
A, B = Extremum(f, x(Corner[1]), x(Corner[2]))
g = Function(f, x(B), x(Corner[2]))
g_2 = Function(f, x(Corner[1]), x(A))
g_1 = Function(f, x(A), x(B))
a = true
f_1 = Derivative(f)
C, D, E = Extremum(f_1, x(Corner[1]), x(Corner[2]))
g_4 = Function(f_1, x(Corner[1]), x(C))
g_5 = Function(f_1, x(C), x(D))
g_6 = Function(f_1, x(D), x(E))
g_7 = Function(f_1, x(E), x(Corner[2]))
b = false