Question: YOU HAVE TO WRITE THE CODE ON MATLAB. WRITE ON M-files and publish it. Using contour , plot at least 5 level curves of the
YOU HAVE TO WRITE THE CODE ON MATLAB. WRITE ON M-files and publish it.
Using contour, plot at least 5 level curves of the function
on the rectangle
and
. Add a plot of the gradient field to the plot of the level curves. Make sure you adjust the scales using axis equal to preserve orthogonality. PUBLISH YOUR M-FILE WITH THE GRAPHIC OUTPUT.
Plot the surface
by parametrizing it (see Chapter 7 on parametric plotting for how to do this using spherical coordinates). On the same graph plot the normal vector field to this surface. Make sure you adjust the scales using axis equal to preserve orthogonality. PUBLISH YOUR M-FILE, including graphic output.
f(L, y) = y2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
