Question: Mathlab: Problem 2 Slopefieldim.m x + [ x , y ] = meshgrid ( 0 : . 5 : 8 . 0 , - 3

Mathlab: Problem 2
Slopefieldim.m x+
[x,y]= meshgrid (0:.5:8.0,-3:0.5:9.0);
rigure 1
slope =y***(1-y4);
File ted View insert Took Desitop Window Help
Length=sqrt (12)
UnitVectorx=1./Length;
UnitVectory=slope./Length;
quiver (x,y, UnitVectorx, UnitVectory)
Cemmand Windour
SlopeFieldxy
fx?
Click on New or the + sign.
In the Edit Window Type in the Script, the name of the Script will be untitled1.
Save the Script and Give it a name.
Run the name of the Script in the Command Window.
The SlopeField should be come up a New
Window as shown.
G. Carbone
4
Use MATLAB to generated the direction field for following autonomous differential equation.
dydx=y(1-.25y), You can use the script below. Print out the direction field or take a picture with your smart phone. Hand draw the solutions to the differential equation for the following initial conditions:
y(0)=8
y(0)=0.1
y(0)=-0.1
Mathlab: Problem 2 Slopefieldim.m x + [ x , y ] =

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!