Consider the following problem:
Maximize f(x) = x3 + 2x – 2x2 – 0.25x4.
(a) Apply the bisection method to (approximately) solve this problem. Use an error tolerance ϵ = 0.04 and initial bounds x = 0, x-bar = 2.4.
(b) Apply Newton’s method, with ϵ = 0.001 and x1 = 1.2, to this problem.