Search for question
Question

8. Employ solve_poly to solve the equation: x ²cos(x) = ex. Use initial guess x0=0. Repeat

for x0 = -1 and x0 = +1. Compare your answer to the one obtained using fzero.

Fig: 1