Let f(x) = e^(-x) * cos(x)
(a) Show that f(x) = 0 has a positive root on [0,4]. (Note that you may not use the intermediate value theorem directly. How can you remedy this situation?)
(b) By using the bisection method, find an approximation of x up to three decimal places. You may make a code or use a calculator. For each step, write the interval [cn, bn] and the midpoint mn.
(c) Find the number of iterations n such that the size of the error is less than 10^(-6).