9 Newton’s Method

If n>1, f should be a function that accepts a 1-D NumPy array with nentries and returns another NumPy array with nentries. Similarly, Df should be a function that accepts a 1-D array with nentries and returns a n narra.y In other words, fand Df are callable functions, but f(x) is a vector and Df(x) is a matrix. np.isscalar() may be useful for ... ................
................