Page 1 of 1

Homework 2, due January 31, 2007.

Posted: Thu Jan 25, 2007 2:21 pm
by goodwine
Unless otherwise indicated, all problems are from the course text, Elementary Differential Equations and Boundary Value Problems, by Boyce and DiPrima, 8th Edition.

Reading sections 7.1 through 7.5 will be helpful to fill in a few details that were not covered in lecture.
  1. Section 7.2, numbers 4, 15 and 23.
  2. Section 7.5, numbers 4, 6 and 16 (by hand) and 13 (may use computer for computations, but submit printed computer work).
  3. Determine the general solution to
    • Image
    Determine the solution if
    • Image
    and
    • Image

Section 7.5, numbers 4, 6

Posted: Sun Jan 28, 2007 4:36 pm
by nfraser
Is there an easy way to plot the direction field in MATLAB for numbers 4 and 6 in section 7.5?

Re: Section 7.5, numbers 4, 6

Posted: Mon Jan 29, 2007 8:16 am
by goodwine
nfraser wrote:Is there an easy way to plot the direction field in MATLAB for numbers 4 and 6 in section 7.5?
There is but I don't know off hand. Maybe someone else can post the answer. If not I'll try to dig it out before the end of today (Monday).

Re: Section 7.5, numbers 4, 6

Posted: Mon Jan 29, 2007 3:45 pm
by goodwine
goodwine wrote:
nfraser wrote:Is there an easy way to plot the direction field in MATLAB for numbers 4 and 6 in section 7.5?
There is but I don't know off hand. Maybe someone else can post the answer. If not I'll try to dig it out before the end of today (Monday).
I would suggest googling "matlab plot vector field".

Plotting Direction Fields

Posted: Mon Jan 29, 2007 6:02 pm
by awulz
Here is a link that is pretty easy to follow:
(It's #7 from Professor Goodwine's Google Link)

http://www.wam.umd.edu/~petersd/246/matlabode2.html

Just scroll down the page to:
"Vector fields for autonomous systems of two first order ODEs."
Note: You'll need to save the .m file they have listed on the website to use with Matlab.

Alex

HW 2 graph

Posted: Tue Jan 30, 2007 2:41 am
by gsuarez1
Do we have to use MATLAB? Can we use another computer program like Mathematica for example?

Re: HW 2 graph

Posted: Tue Jan 30, 2007 6:42 am
by goodwine
gsuarez1 wrote:Do we have to use MATLAB? Can we use another computer program like Mathematica for example?
I assume you are referring to plotting the vector fields. For those you may use whatever you want, including Mathematica or even plotting it by hand.

direction field

Posted: Wed Jan 31, 2007 12:07 pm
by Euler
Hi. I think pplane is the easiest way to do it. There is a JAVA version now, or you can still download the MATLAB. I think this is the correct URL http://math.rice.edu/~dfield/dfpp.html.

Just make xdot, xdot and ydot, in place of x1dot and x2dot. Then make x1, x, and x2, y.

Then it's really easy to enter and plot right away.

You can click on the window to get neat traces between the arrows.

I want to know how to do it in Mathematica. Did anybody figure that out?

Re: direction field

Posted: Wed Jan 31, 2007 12:10 pm
by goodwine
What Euler describes looks like a great tool. If the link doesn't work try

http://math.rice.edu/~dfield/dfpp.html

Euler accidentally put a period on the end.