This page provides learning objectives and other supplementary iformation to
support lectures in ME 352 during Fall 2008. Lectures are presented in reverse
chronological information, i.e. the most recent lecture is listed first.
MATLAB You Need to Know
A separate page
lists the MATLAB programming constructs, built-in variables, and special
values that you need to know.
Yet another page
provides code snippets for some common procedures in MATLAB.
My digital voice recorder shut itself off 5 minutes after the start of lecture.
As an experiment I created a
screencast
of the lecture and demonstration for the least squares curve fitting.
Be able to apply the backslash operator to the solution of a system of n equations in n unknowns
Be able to define and compute the residual of the system A*x = b
Be able to define an ill-conditioned matrix
Describe the qualitative relationship between the magnitude of the condition number and the singularity of A.
Be able to describe the qualitative significance of the condition number on the reliability of the solution to A*x = b.
Be able to define the meaning of a large condition number for a number system with machine precision em
Describe the significance of ||r|| for a well-conditioned A and an ill-conditioned A. In other words, how does the condition number determine whether ||r|| is a reliable indicator of the accuracy of the numerical solution.
Handouts
During class we worked the solution to problem 2 and 3 on
this handout.
Be able to manually compute addition and subtraction of two vectors
Be able to manually compute product of a scalar and a vector
Be able to manually compute the linear combination of two vectors
Be able to manually compute L1, L1 and Linfinity norms
Be able to compute matrix addition, subtraction and multiplication by a scalar
Reading
Chapter 7 contains a lot of information. Use it as a reference. Be sure you
can perform vector and matrix computations manually and with MATLAB.
Demonstrations
At the start of lecture I gave two demonstrations of the applications of
linear algebra. In the tennis racket animation I showed how a two-dimensional
representation of a tennis racket could rendered as a rotating object in three
dimensional space. Matrix multiplication is used to apply rotations to the
set of points that define the shape of the matrix. You can
download a zip archive
of the m-files for the animation. Unpack the zip archive and run the animation
by typing tennisAnimation at the command prompt.
The second demonstration showed a very simple finite element model of two-dimensional
trusses you can
download a zip archive
of the code and sample files for the truss model. Unpack the zip archive and follow the
instructions in the readMe.txt the or the truss.pdf file.
Quoting Hamming
During the discussion of the midterm exam, I repeated Hamming's aphorism that
"the purpose of computing is insight, not numbers". Here's a photo of the
cover page of Hamming's book, with an inset of his pithy comment from the page
following the cover. The frontmatter also has another nice idea
attributed to Confucius.
After Joel Rogers gave his presentation about the ASME HPV competition,
I described the role of the ASME and the development of the Boiler Code.
I got the facts wrong.
The ASME held its first meeting in November 1880. The Boiler code was
published in 1914.
Be able to write a one-line MATLAB function to evaluate the three-term approximation to sin(x)
Be able to write a short MATLAB function to plot discrete data and data generated from a formula.
Podcast Failure
The podcast of the lecture did not work. The record/pause buttons can sometimes
be pressed accidentally when I put the recorder in my pocket. I suspect that
happened.
CADLAB Work
The second half of the class was spent in the CADLAB (EB 325) working
on some problems
that should help prepare you to do the homework.
Know how to contact GWR: email, telephone, office hours
Be able find relevant information: handouts, textbook, website
Be able to explain how this course fits into the curriculum.
Be able to launch MATLAB
Know how to assign variables and do basic calculations
Be able to make a simple plot of y versus x
Be able to write a simple function with one input variable and one output variable
Activate Your MCECS Account
All students will need to use MATLAB to complete the first problem set.
You do not need to buy MATLAB because it is available on all the computers
on the College network. To use those computers you must first activate
your MCECS computer account by following these steps:
Go to Room 60-06 in the Fourth Avenue Building
Ask to have your account activated
Follow directions given to you by the help desk worker in FAB 60-06
Chapter 1
provides an overview to numerical analysis and the structure of the book.
This is useful background information. It would be helpful to reread this
chapter about midway through the quarter when the vocabulary will have
more meaning.
Chapter 2 describes how to use MATLAB to perform interactive calculations.
Plotting is also covered in Chapter 2.
Chapter 3 describes how to write MATLAB programs. In this first lecture
we only considered the task of encapsulating a few MATLAB statements in
an m-file. In the next class we'll examine input and output parameters
in more detail.
Prepare for Lecture 2
Students are expected to have completed the following tasks in preparation
of class meeting #2:
Activate your MCECS account
Read assigned sections from the textbook
Read the review notes on infinite series, and bring any questions to the next
class meeting