Numerical Analysis, Fall 2017
HW 3, due Oct. 17, 2017, 11:00 am
Homework assignments must be submitted in the class on the due date. If you cannot
attend the class, please send your solution per email as
a single PDF
Please hand in cleanly
handwritten or typed (preferably with L
If you are required to hand in code or code listings,
this will explicitly be stated on that homework assignment.
NYU’s integrity policies will be enforced. You are encouraged to discuss the problems with other
students in person (or on NYU Classes). However, you must write (i.e., type) every line of code yourself and also
write up your solutions independently. Copying of any portion of someone else’s solution/code or allowing others
to copy your solution/code is considered cheating.
Plotting and formatting.
Plot figures carefully and think about what you want to illustrate with a plot. Choose
proper ranges and scales (
semilogx, semilogy, loglog
), always label axes, and give meaningful titles.
Sometimes, using a table can be useful, but never submit pages of numbers.
Discuss what we can observe in
and learn from a plot. If you do print numbers, use
to format the output nicely. Use
and other format commands to control how MATLAB prints things. When you create figures using MATLAB
(or Python/Octave), please try to export them in a vector graphics format (.eps, .pdf, .dxf) rather than raster