HW2

The assignments requires two separate scripts via MATLAB. One to produce a figure showing which initial points converge to the same zero, and the other to determine the zero of a function using the modified Newtons method. The requirements for each function are written in the attachments. Please add comments on the code explaining what each part of function does.