MatLab Assignment 4
-- Turn in on March 11
-- MatLab Functions:
int, subs, syms, ezplot
--- Picard's Method
If you have any question or problem with MatLab, please
send me an email at:
chenm or
call me at: 953-7896.
- Take a few minutes to read the MatLab
handout (4) to learn how to
use MatLab functions
int, subs, syms, ezplot
to approximate the solution of a given initial value problem
by Picard's Method. You may down load
the MatLab scripts for the example given at the end of the
handout into a file by Copy and Paste from the web page.
Then use it for your assignment by modifying it for each of
the following given problems.
- Apply Picard's Method to y'=2xy, y(0)=1.
Compute and sketch y1,
y2, and y3, and sketch the solution
y=ex2 for x in [0,2].
- Are y1, y2 and y3 good
approximations for x in [0,1]?
- Are y1, y2 and y3 good
approximations for x in [0,2]?
- Would you recommend to use y3 to approximate
the solution for x in [0,3]? Provide a brief explanation.
- Apply Picard's Method to y'=xy+2x-x3, y(0)=0.
Compute and sketch y1,
y2, and y3 and sketch the solution
y=x2 for x in [0,2].
- Are y1, y2 and y3 good
approximations for x in [0,1]?
- Are y1, y2 and y3 good
approximations for x in [0,2]?
- Would you recommend to use y3 to approximate
the solution for x in [0,3]? Provide a brief explanation.