Here are the LaTeX file:homework1.tex
and the PostScript file:homework1.ps
Math 228B Computational Assignment 1 Winter 1999
Due: Monday, January 25, 1999
Project Format
Please provide a typed report (e.g. in LaTeX) in the following
format.
- 1.
- A statement of the problem to be solved.
- 2.
- Three graphs of the
numerical solution at some fixed time T0>0 that show
- (a)
- the exact solution at time t = 0 ,
- (b)
- the exact solution at time t = T0 ,
- (c)
- and the approximate solution at time t = T0 for
,
h / 2 and h / 4.
So each of the three graphs has four curves.
- 3.
- Three tables showing the error in each of the
,
L1 and L2 norms
on each grid; i.e., for
,
h / 2 and h / 4.
So, for example, the error in the L2 norm is given by
![\begin{displaymath}\vert\vert u_{e}-u\vert\vert _{2} = \big[ \sum^N_{j=1} \big((u_e)^n_j - u^n_j)^{2} \big]^{1/2} .
\end{displaymath}](img3.gif) |
(1) |
These tables should
- (a)
- be similar to Table 1 in the notes (although I prefer to have
decrease as one goes down a column, rather than along a row) and
- (b)
- have sufficient data to deduce the convengence rate of the numerical
method.
- 4.
- A brief analysis explaining your results.
MAT 228B Webpage
|Program #1
|Program #2
|Program #3
|Program #4
1999-01-22