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.
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.
During class we worked the solution to problem 2 and 3 on
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
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.
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.
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.
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
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
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