Newton method code is posted

On Friday we looked at implementing the Newton method, and I've posted it along with a translation in the notes (see the ipynb file for Jupyter/IPython and the m file for MATLAB). Note that both implementations have issues in terms of reusability and speed, but I didn't want to obscure the actual algorithm. 

If you haven't tried the programming yet, a good exercise would be to adapt the code to instead use the direction of steepest descent, and changing the function in question. Try for example on the quadratic functions from exercise 4 and verify that the methods behave as expected.

Published Nov. 6, 2017 9:35 AM - Last modified Nov. 6, 2017 9:35 AM