Maple Lab 2 (Spring 2007 Math 251)
Sections 05-07
ANSWER KEY
Exercises
Note: Use appropriate colors and plot options to make your plots look nice. The appearance of
you lab will be factored into your grade. You may add execution groups if you need more.
Please delete unused execution groups.
| > |
Warning, the assigned names `<,>` and `<|>` now have a global binding
Warning, these protected names have been redefined and unprotected: `*`, `+`, `-`, `.`, D, Vector, diff, int, limit, series
Warning, the name changecoords has been redefined
1. Define a function of two variables:
| > |
![]()
![]()
| > |
1(a). Define
to be the gradient vector at the point
, let
be the gradient vector at
the point
, and let
be the gradient vector at
.
| > |
| > |
| > |
| > |
1(b). Graph the contours of the surface
(in 2-dimensions) along with the
gradient vectors
and
. Give the vectors extra "thickness" and make them
different color so they can be seen easily.
| > |
| > |
| > |
| > |
| > |
1(c). Compute normal vectors for the surface at the points
and
.
| > |
| > |
| > |
| > |
1(d). Plot the surface
in 3-dimensions using "
" and turn on
the option which fills in the surface between the contours.
Include the normal vectors computed in 1(c) in the same plot. Give these
vectors the same colors as you gave the corresponding vectors in 1(b).
| > |
| > |
| > |
| > |
| > |
2. Define a function
.
| > |
![]()
![]()
![]()
| > |
2(a). Verify that the point
is on the level surface
.
Then use the gradient operator to find a normal vector for the level surface
defined at this point. Call the normal vector
.
| > |
| > |
2(b). Graph the level surface
together with the its tangent plane
and normal line at the point
| > |
| > |
| > |
| > |
| > |
| > |
3. The temperature at a point
on a metal plate is
degrees
Fahrenheit. Define the function
and graph the surface
.
| > |
![]()
| > |
| > |
3(a). Find all of the function
's critical points.
Define "critPts" to be the list of all REAL critical points.
| > |
| > |
| > |
![]()
![]()
![]()
![]()
| > |
3(b). Define the discriminant "
" and test all of the REAL critical points.
Discuss what the max/min test says about your critical points.
Note: Assign the discriminant some name like "
" since "
" is reserved by Maple for
another operator.
| > |
| > |
| > |
| > |
| > |
| > |
| > |
| > |
| > |
| > |
The discriminant is negative for our first critial point
, so it is a saddle point.
We can see that the discriminant is positive and the second partial of
is positive
for our last two critical points
and
. Therefore, these points are local minima.
3(c). Suppose that our metal plate is circular with radius 2 and is centered at
.
If an ant is walking around on the plate, what point will it find to be the hottest
and what point will it find to be the coldest.
Directions: Use Lagrange multipliers to find the coldest and hottest points on the edge
of the plate (your constraint is the circle
). And then
combine those results with your previous critical points results.
| > |
| > |
| > |
| > |
| > |
| > |
![]()
![]()
![]()
| > |
![]()
| > |
| > |
| > |
| > |
| > |
| > |
First, notice that all three critical points from 3(b) are within the circle of radius 2.
Now comparing the temperature at all of the internal critical points and all of the
points found from the method of Lagrange multipliers, we find that the maximum
temperature is approximately 18 degrees and occurs at "lagrangeCrit[3]" which is
located approximately at
. The lowest temperature is -2 degrees
and this occurs at "critPts[2]" and "critPts[3]" which are the points
and
.