You have reached the course website for
18.085 Spring 2009
MWF 12-1pm
4-370
Lecturer: Hans Christianson
Office: 2-304 Evans
Office hours: MF2-3
Teaching Assistants:
Email
me: hans@math.mit.edu
[top]
Previous Course Content
This section contains information from the previous courses, videos, practice
exams, and extra homework and solutions. (Please report broken links
so I can fix them).
[top]
Videos: The special event for Fall 2008 is that the lectures will be recorded for OpenCourseWare You will already find a partial earlier set on the website but the course has since evolved. The videos of 18.06 Linear Algebra have been successful on OCW (please use them for help!!). The Lord Foundation gave a new grant for 18.085.
HOMEWORK 1 FOR MONDAY, SEPTEMBER 8: Any 3 problems from section 1.1 and from 1.2. Please PRINT your name so that we can make a class list. Not graded in detail—you may always discuss with
others!
Solutions to Homework 1
Homework 2 for MONDAY September 15 (and please see the notes below):
Solutions to Homework 2
Homework 3 for WED SEPT 24
// There will soon be a separate
MATLAB question for that Friday the 26th
Solutions to Homework 3
Matlab 1:
This MATLAB homework for FRIDAY 9/26 is separate from the text homeworks.
It is about the convection-diffusion equation -u'' + Vu' = load
A symmetric part K/h^2 comes from diffusion -u'' plus an antisymmetric
part if we use centered differences for the convection term Vu'.
As V increases this becomes convection dominated and u changes.
The homework to turn in asks for V=3 and V=12 each with n=5 and n=21.
Here is the Matlab code that will help with this.
Solutions to Matlab 1
Homework 4 for WED OCT 8
(after the 7:30 pm exam on TUES OCT 7 in 54-100)
I will try to move my review session from
WED OCT 8 to MON OCT 6
One more question: Find 4 solutions to the 2 by 2 system Mu''+Ku = 0 The solutions have the form cos(wt)x and sin(wt)x. First find M and K: Fixed-fixed / spring constants c1=1 c2=2 c3=4 / masses m1=1 m2=2 Look for eigenvectors and eigenvalues (by hand) of K x = w^2 M x.
**The exam will include the start of Section 2.4 and I will give more detail in class**
Solutions to Homework 4
Prof. Strang's Solution to 2.2.6
Solutions to Quiz 1
Homework 5 for MON OCT 20
Solutions to Homework 5
Matlab 2: Create the 5 by 8 matrix A for the regular hexagon truss,
with the lowest bar removed between the two supports. The angles with
the horizontal will be 0, 60 or 120 degrees with good sines and cosines.
Number the bars 1 2 3 4 5 and nodes 1 2 3 4 clockwise from the supports!
I believe rank(A)=5. Use null(A) to find three mechanisms
(solutions to Au=0). Can you see 3 mechanisms that are simple to draw?
Solutions to Matlab 2
Homework 6 for MON OCT 27
Solutions to Homework 6
Solutions to Matlab 3
Homework 7 WILL NEVER BE COLLECTED -- it is practice for next week's exam.
3D vectors and splines WILL NOT be on the exam. I will say more in class.
Suggested: 3.3: 2, 5, 7, 8, 9, 11 and 3.4: 2, 4, 5, 17
Solutions to Homework 7
Homework 8 (MATLAB) for FRIDAY Nov 14
[A couple corrections have been made to this homework assignment.
It should be correct now. -- 11/11/08 11:10 AM.
Suggestion added 11/13/08 8:21 AM]
The function u(x,y) = 1 - x2-y2 solves the Dirichlet
problem for Poisson's equation inside the unit circle:
-uxx-uyy=4 with u=0 on the circle
[Don't forget that the right side of the equation is now 4 and not 1.]
I am highly interested in the errors in u and its slope when the circle is
replaced by a regular polygon with M sides.
You can compute one pie-shaped
triangle with angle 2π/M at the center (0,0) since all triangles will be
the same.
Take the triangle T with corners (0,0) and (cos π/M, sin π/M) and (cos
π/M,-sinπ/M). Start with this triangular mesh on T:
Divide the center line of T from 0 to cos π/M into N equal pieces of
length h=N-1 cos π/M. In addition to (0,0), we have 3N
meshpoints on the center line and the edges of T:
(h,0),...,(Nh,0) , (h,h tan π/M),...,(Nh,Nh tan π/M) , (h,-h tan π/M),...,(Nh,-Nh tan &pi/M)
[These coordinates were wrong originally; now they should be right.]
The boundary condition is U=0 on the short outer edge, and Neumann dU/dh = 0
on the edges in to (0,0). To make triangles, add diagonals from meshpoints
(h,0),...,((N-1)h,0) on the center line to the next points (2h,tan
2h),...,(Nh,tan Nh) and (2h,-tan 2h),...,(Nh,-tan Nh) along the edges of T.
Draw the mesh by hand to see 4(N-1) triangles + 2 triangles from (0,0). This is
my suggested mesh!
Adjust the code in the book and on math.mit.edu/cse Section 3.6 to
assemble K and F and solve KU=F. The known values are 0 at the three outer
meshpoints where x=Nh. You should see
symmetry across the x axis.
[Perhaps the easiest thing to do is to replace the "squaregrid" part of femcode.m
with your own code to create the p, t, and b lists for this problem.
You don't need any tricks for this; just order the points how you want,
and be sure to place the point numbers in the t and b lists correctly.]
Print out and plot the values of U along that center line x=0 and
separately along the upper edge of the triangle. On those plots, also show
the exact u=1-x2-y2. I expect errors of order
1/N2 (try 3 values of N). I also expect these errors to decay as
you go toward (0,0). Plot also the piecewise constant x-derivative of U
along the center line y=0 and the true derivative du/dx = -2x. Here I
expect errors of order 1/N.
If possible, increase M beyond 8 (octagon) to see better accuracy as
you come closer to the circle.
Solutions to Homework 8
Solution 2: Part 1, Part 2, Part 3, Part 4, Part 5
Homework 9 for MON NOV 24
Solutions to Homework 9
Solutions to Quiz 2
Homework 10/Preparation for the quiz in Walker DEC 4 7:30
Solutions to Homework 10
Videos of Professor Strang's Lectures
(Lincoln Lab, Spring 2001)
18.085 Course information page from Fall 2007.
Movie of elimination
moe.m
(also need
realmmd.m
)
Code to create K,T,B,C as sparse matrices
MATLAB's backslash command to solve Ax = b
(ps, pdf)
Getting started with Matlab:
http://ocw.mit.edu/OcwWeb/Mathematics/18-06Spring-2005/RelatedResources/
Exams and Solutions (Fall 2006)
Exams and Solutions (Fall 2005)
Exams and Solutions (Fall 2004)
Exams and Solutions (Fall 2003)
Exams and Solutions (Fall 2002)
Exams and Solutions (Fall 2001)
More Exams and Matlab Homeworks from previous years
You are visitor number
since September 2, 1997.
© 1997 Massachusetts Institute of Technology