Question: Using MATLAB code please :) Write a single script which does each of the following in turn. Make sure you run the script in order
Using MATLAB code please :)

Write a single script which does each of the following in turn. Make sure you run the script in order to see the results and possible errors!) before submitting it! 1. Plot the function f(x, y) = V x2 + y2 and assign the result to 01. 2. Plot the function f(x, y) = cos(x2 + y2) and assign the result to q2. ex+? 3. Find the derivative x?y2 and assign the result to 93 Oxdy x - cosy) 4. Assign g(x, y) = and calculate fyxx (1.2,3.8) (triple derivative!) and assign the result to q4. 5. Assign f(x, y) = x - xy? + Vy. Find Vf(2,9) and assign the result to q5. You'll need subs, too. 6. Find the directional derivative of f(x, y) = x/y + sin(xy) in the direction of u = 3 - 2 and assign the result to 96 7. Find all critical points for f(x, y) = (y-2) In (xy). In Matlab In is done with log. Assign the result to [97x,97y] 8. Use Lagrange multipliers to find the maximum and minimum values of f(x, y) = xy2 subject to the constraint x + y2 = 16. Assign the second-to-last line to [q8L,98x, q8y] and the last line to q8f. xy
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
