Instructor and Office Hours
|
Instructor: Trevor Potter Email: potter at math dot berkeley dot edu Office: 1075 Evans Hall Office Hours:Thursday 1:00 - 3:00 |
Homework submission rules and expectations
1.To submit the programming portion of the homeworks, zip (not rar) all of the required matlab files and any supporting files in a zip file named lastname_firstname_PS#.zip, e.g. potter_trevor_3.zip. Put the files directly into the zip file, i.e. do not use any subdirectories. E-mail this file to my address.
2. Make sure you are consisten with your naming; don't name your file "potter_trevor" one week and then "potter_trev" the next.3.To submit the written portion of the homework you may turn it in during class on the due date or you may submit it electronically as a pdf any time on the due date.
4.To submit the written portion electronically, name it lastname_firstname_PS#.pdf, and place it directly in the zip file above. Please don't send anything bigger than a megabyte.
Homework content guidelines
1.Double check that all of your functions submitted have exactly the correct inputs and outputs we have specified, and that they plot or print to the command window only as specified.
2.Don't use clc or clear (or similar) as it is not asked for and will clear my screen or workspace variables
3. If there is a question asked in the programming portion of the assignment, answer it in the written portion of your submission.
4. We expect cleanly written and concise solutions, others may lose points. Don't a submit an extra copy of your code.
5. Don't use any non-standard matlab toolboxes or functions in your code.
6. Make sure that none of your functions take more than a few seconds to run (at least with the test parameters we have given).
Problem set 2 specifications
1. Note that none of the functions have output arguments, but instead produce plots, with the exception of fpend.m (which should be "function f = fpend(u,kspr)" ).
2. Solve the heat equation and the transport equations (heat1dimpl.m and conv1dimpl.m) with final times T = .2 and T = 1 respectively (this is implied by the heat1d.m and conv1d.m code). The code should plot the solution at the final time.
3. Solve the double pendulum problem with final time T = 5. Also note that trbdf2pend.m is the only function which prints to the command window, namely it prints the norms of the Newton updates.