EML 3002L M.E. Tools Lab 10/04/16
Mathcad only Van Dommelen 12:30-1:45 pm
NO CELL PHONES. NO HEADPHONES/BUDS. NO CALCULATORS. You may only
have a pen or pencil with you and use this exam sheet for scratch
paper. ONLY MATHCAD AND ITS HELP MAY BE ACTIVE ON YOUR COMPUTER.
REMAIN SEATED AT ALL TIMES.
FILE PATH AND NAME IN THE LEFT HEADER, YOUR NAME IN THE RIGHT HEADER.
PAGE N OF NN
IN THE CENTER FOOTER.
SAVE FREQUENTLY. A CRASH IS NO EXCUSE FOR ANYTHING. SAVE BEFORE
PDF CREATION!!!
After translation into mathematics, only Mathcad may be used to
solve the full problem as posed. Use the appropriate procedures
as covered in the lectures. Answers must be boxed.
- (20%) A notoriously ill-conditioned matrix is the Vandermonde
matrix. The simplest example of a Vandermonde matrix is
Warning: note that we are numbering indices here starting
from 1. Take and let and range from 1 to . Then
define matrix V as in the formula above. Show the matrix with all
coefficients simple integers (i.e. no powers of 10 as MathCAD does
by default). Given that numbers in MathCAD in our lab have a
relative error of roughly , determine the expected
relative error in the solution of a system . Now as
an example take vector so that . Find . Given
that the exact solution has all coefficients zero
except the second-last one, which is 1, state the actual relative
error. (This is a bit smaller than expected, maybe because all
initial numbers in the system are exact integers.)
Solution
- (20%) Find the barrel (approximated as a right-circular
cylinder of radius and height ) that has the smallest surface
area (so material cost) given that the volume must be at
least 2 m. (Include the circular top and bottom as well as the
curved lateral side in the area.) Take the initial guesses for
radius and height to be 1 m each. Be sure to print out the best
and individually.
Solution
- (40%) We measured a function that, unknown to us, is exactly
equal to . We did 9 measurements
at time values . Show vectors
and . Because we see that the measurements are
anti-symmetric around , we would like to approximate them in the
least-square sense by a cubic of the form
(Note final power is 3.) Find this function.
Then make a presentation-quality graph that shows exact and
approximating cubic above as lines of different colors, and the
measured values as symbols. Label axes as simply and , and
title the graph as Cubic Least Squares
. Make sure
to provide a suitable high-quality legend.
Solution
- (20%) Consider the function
(No, MathCAD does not, as far as known, allow you to undefine
variables. If you have a name conflict with earlier variables, the
best way seems to be to simply change names.) Solve the equation
symbolically for as a function of .
Then make a contour plot, showing contours of constant in the
-plane. (Presentation quality is not required.)
Solution
Solutions without credit distribution.