We will be developing a code to solve a complex problemmodelling a hanging cable. The steps below will help you build aprogressively more sophisticated code.
Step 1.
Write a Newton’s solver to find a solution to the followingsystem of four equations
t=z[0]
u=z[1]
v=z[2]
w=z[3]
vec[0]=t**4+u**4-1
vec[1]=t**2-u**2+1
vec[2]=v**4+w**4-1
vec[3]=v**2-w**2+1.
Use an exact calculation for the Jacobian. You code should usepython functions to evaluate the above vector of functions and theJacobian. Your Newton’s solver should use a loop. Report thesolutions you found.
Step 2.
Write a function to find a numerical version of the Jacobianbased on forward differences with Delta x = 0.02. Use the new codeto resolve the problem in Step 1. Comment
PayPal Gateway not configured
PayPal Gateway not configured