# Lab1 - By suitably modifying the above commands and...

This preview shows page 1. Sign up to view the full content.

MATH 138 Maple Lab Assignment 1 Due: Friday, February 26, by 11:00 a.m. in the MATH 138 dropboxes outside of MC 4066. This question is designed to give you some familiarity with the use of Maple in solving differential equations. For practice, type the following commands into your Maple worksheet. with(DEtools): ode1 := diff(y(x),x) = x+y(x); dsolve( { ode1, y(0) = 1 } ); dsolve( { ode1, y(0) = -1 } ); dsolve( { ode1, y(0) = -2 } ); DEplot(ode1, y(x), x=-3. .3, y=-3. .3, [[y(0)=1], [y(0)=-1], [y(0)=-2]], linecolour = black); You should be getting 3 solutions and the direction ﬁeld for the differential equa- tion discussed on page 572 of the textbook. You do not need to submit this output.
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: By suitably modifying the above commands and parameters, ﬁnd 3 solutions to the differential equation dy dx = ( y-1)(4-y ) satisfying conditions y (0) = 5 , y (0) = 2 , y (0) = 0 . 5 and plot the solution curves and the direction ﬁeld inside the square region-3 ≤ x ≤ 3 , ≤ y ≤ 6 . QUESTION. Your solution y that starts with y (0) = 2 seems to have its steepest slope when y = 2 . 5 . Explain brieﬂy how this can be predicted directly from the differential equation. Write your answer on the printout of your Maple worksheet. 1...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online