Can you please resolve these two problems, and provide me .m files and also create plot as mentioned in the problem? I have searched almost all the website but not found any answer:( also, i have to submit it to as nearest as possible to my university. Please help!!!
1.Determine the distance from the line y = x + 1 to the parabola y^2 = x. (hint: Let (x,y) be a point on the line and (w,z) a point on the parabola. you want to minimize (x-w)^2+(y-z)^2.)
2.f(x,y) = x^2 + y^3 - 3xy , -5<= x <= 5 , -5 <= y <=5
a. Plot the function over the given rectangle.
b. Plot some level curves in the rectangle.
c. Calculate the function's first partial derivatives and use the CAS equation solver to find the critical points. How do the critical points relate to the level curves plotted in part b? Which critical points, if any, appear to give a saddle point? Give reasons for your answer.
d. Calculate the function's second partial derivatives and find the discriminant fxxfyy-fxy^2.
e. Using the max- ,min tests, classify the critical points found in part (c). Are you finding consistent with your discussion in part (c)?
Regards,