A place to put your answers to assignment 2b. That assignment is as follows:
- Write a program to implement the Secant method.
- Test it, using x0=1 and x1=2 on:
- cos(x)-x
- log(x)-exp(-x)
- Compare it with the performance of Newton-Raphson on the same functions.
- Write a function to show a plot of the iterations of the algorithm.
Push it to this repository as a knitted .Rmd file