a) [2pts] Plot the function f(x) = x/2*cos(pi/2*x)*exp(‐x/2) from ‐1 to 21
b) [10 pts] Use either NewtonRoot.m or NewtonRoot2.m to calculate all of the roots between x=‐1
to 21. What were your starting commands.
c) [8 pts] Set up a for loop that includes either NewtonRoot.m or NewtonRoot2.m that varies the
starting (x_estimate) from 4 to 6 in steps of 0.1. Next plot the root estimate as a function of the
starting value. Show the plot and code to get the plot.