![]() |
Pendulum without damping: vector field and some
trajectories in the phase plane. Note the three critical points at
(0,0), (![]() ![]() |
section | TA | room |
---|---|---|
02*1 | Miguel Pauletti | ARM 0131 |
02*2 | Prashant Athavale | CSI 1115 |
Ignore the warning messages from ode45. You can use the command
warning('off','MATLAB:ode45:IntegrationTolNotMet')at the beginning of your m-file to suppress these warnings. Then your code should run without any warnings or errors.
1(b): You should first do (c) to find all critical points and their types. There are two stable critical points which are possible limits for t going to infinity. The rectangle [0,3]×[0,2] is divided into two regions, consisting of initial points which converge to the first critical point, and initial points which converge to the second critical point. Sketch these two regions by hand. The boundary between these two regions is a trajectory which goes into a saddle point.
section | discussion session | TA |
---|---|---|
0211 | Thu 8:00 MTH 0101 | Miguel Pauletti seba@math |
0221 | Thu 9:00 MTH 0101 | |
0231 | Thu 10:00 MTH 0101 | |
0241 | Thu 11:00 MTH 0304 | |
0232 | Thu 10:00 MTH 0303 | Prashant Athavale patha@math |
0242 | Thu 11:00 MTH 0303 |
Information about time & place, instructor, textbooks, syllabus, grading policy, Matlab assignments, dates of exams, final exam. This was handed out in the first class.
Read the section 4.4 ``Presenting Your Results'' in "Differential Equations with Matlab". You will only receive credit for your homework if you follow the following rules:
problemX.m
containing
the commands for each problem.The easiest way is to use the publish
command
(available in Matlab 7 ).
Your m-file contains the main title (starting with %%),
then a "cell title" (starting with %%) followed by
comment lines
(starting with %), followed by Matlab commands, followed by additional
"cells" in the same format.
The publish
command then generates an html file (which you can
print from a web browser) or a Microsoft Word file containing input, output,
and graphics.
(see also p. 37, 41 in "Differential
Equations with Matlab").
Example: From the m-file publish_example.m we generate the web page publish_example.html with the command publish publish_example
If you don't use publish: For each problem hand in
problemX.m
containing the Matlab
commands, and comments answering the questions asked in the problem. Also
include comments for each plot command indicating which of the attached
graphics it produced.problemX.txt
containing Matlab
output (using the Matlab diary
command). Use the
command echo on to print out all Matlab commands together
with the output.problemX.m
so that it is clear which
Matlab command produced which graphic.
(On Glue, WAM typing print figXY.ps
in Matlab produces a
postscript file figXY.ps
of the current figure which you can
then send to the printer.)
problemX.m
).You are expected to read these documents carefully and try out the explained commands and examples on the computer (you can copy and paste the commands from the browser into the Matlab window).
tap
matlab
and then matlab &
. This
starts the integrated enviroment (with editor and debugger). matlab
-nodesktop
. In this way you can also use Matlab remotely
(but you won't see any graphs unless you have an X-server running on
your local machine). You can use your favorite editor (nedit,
pico,
vi, emacs) for
writing m-files.