How to start homework for Lesson 3.
Read through Lesson 3 of the notes carefully. Find which files you need:
fmass.m and imeuler.m
Go to page: http://www4.ncsu.edu/~zhilin/TEACHING/MA302/MATLAB/
to download the files.
Click on fmass.m to open it.
Click on the file menu and click on save as. A small window
will appear, click on OK.
Follow the same step to download imeuler.m.
Launch Matlab in the SAME directory where the files fmass.m and
imeuler.m are stored.
When you see matlab prompt, type imeuler which will
execute the Matlab command in imeuler.m You will see a picture.
So now the code is working.
Go to page: http://www2.ncsu.edu/eos/info/math/ma302_info/white/ma302hp.htm
Click on 3 under Part I.
Click on Homework
and Report Form (msword version) (msword 6.0), you will see the
homework and how the points are distributed.
If you need modify fmass.m or imeuler.m, use NEdit or other
editors to open, modify and save the files. Then type imeuler
in Matlab again.
In the figure file menu, click print to print out your figure.
In a window (outside Matlab), use lpr fmass.m to get a hard copy
of the fmass.m.