PLEASE help with writing the MATLAB code in MATLAB for this question. DO NOT write the mathematical version of the answer. I dont need that. I need the MATLAB code for the solution. Thank you.
3) A civil engineer can predict how far a large heavy object (such as a pier) will sink into the ground by finding out how far smaller objects will sink. The amount of pressure p in lb/sq.in. required to sink a circular plate of radius r (in.) a distance of 1 ft in soft soil can be approximated by the following equation: where k,,k2, and k, are parameters that depend on the specific type of soil. Find approximations for the values of k,,k2, and k, if a plate with radius of 1 in. requires a pressure of 10 lb/sq.in. to sink 1 ft, a plate with radius 2 in. requires a pressure of 12 lb/sq.in. to sink 1 ft, and a plate with radius 3 in. requires a pressure of 15 lb/sq.in. to sink 1 ft. To find the parameters, use Multivariate Newton's Method to solve a system of nonlinear equations by adding code to the script newt3d.m per the comments in the script (script provided in eLearning) and providing the functions genmatrixx) and genrhs(x): genmatrix(x) will accept a 3x1 vector and output a 3x3 matrix, and genrhs(a) will accept a 3x1 vector and output a 3xl vector. Choose an appropriate initial guess 3) A civil engineer can predict how far a large heavy object (such as a pier) will sink into the ground by finding out how far smaller objects will sink. The amount of pressure p in lb/sq.in. required to sink a circular plate of radius r (in.) a distance of 1 ft in soft soil can be approximated by the following equation: where k,,k2, and k, are parameters that depend on the specific type of soil. Find approximations for the values of k,,k2, and k, if a plate with radius of 1 in. requires a pressure of 10 lb/sq.in. to sink 1 ft, a plate with radius 2 in. requires a pressure of 12 lb/sq.in. to sink 1 ft, and a plate with radius 3 in. requires a pressure of 15 lb/sq.in. to sink 1 ft. To find the parameters, use Multivariate Newton's Method to solve a system of nonlinear equations by adding code to the script newt3d.m per the comments in the script (script provided in eLearning) and providing the functions genmatrixx) and genrhs(x): genmatrix(x) will accept a 3x1 vector and output a 3x3 matrix, and genrhs(a) will accept a 3x1 vector and output a 3xl vector. Choose an appropriate initial guess