Vous êtes sur la page 1sur 5

Eric Cotner A08635063 10/20/10 Matlab 2 Exercise 2.

2 a) The lines are general solutions to the ODE at that initial value.
y ' = (exp( - x) - y) (exp( - x) + 2 + y) 4

-1

-2

-3

-4 -2 0 2 4 x 6 8 10

b) So you can get an idea of a general solution or specific solution without actually solving the equation. Exercise 2.3 No, it shouldnt greatly affect the solution.
y '=x +2y 4

-1

-2

-3

-4 -2 0 2 4 x 6 8 10

Exercise 2.4 These different initial points would greatly affect the outcome of the solution because (1,1) is an unstable equilibrium where any other solution diverges.

y '=y -1 4

-1

-2

-3

-4 -2 0 2 4 x 6 8 10

Exercise 2.5 A is most likely the temperature of the surroundings at which the temperature reaches an equilibrium.
y ' = k (A - y) 4 3.8 3.6 3.4 3.2 3 2.8 2.6 2.4 2.2 2 0 1 2 3 t 4 5 6
y
y

A =1

k=2
4 3.8 3.6 3.4 3.2 3 2.8 2.6 2.4 2.2 2 0 1

y ' = k (A - y)

A =3

k=2

3 t

Exercise 2.6 a) b) c) d) dy/dt=.4(A-y); y(0)=-6 A=41 t= 8 hours t=5.7 hours

Exercise 2.7 It changes the slope of the direction field depending on the values for x and y.

x '=2 y '=-3 2

-1

-2

-3

-4 -2 -1 0 1 x 2 3 4

Exercise 2.8
x '=y y '=-x 10 8 6 4 2 0 -2 -4 -6 -8 -10 -10 -8 -6 -4 -2 0 x 2 4 6 8 10
y

Exercise 2.9

x '=1 y ' = y3 + x2 10 8 6 4 2 0 -2 -4 -6 -8 -10 -10 -8 -6 -4 -2 0 x 2 4 6 8 10


y

Exercise 2.10 a) x>0, y>0


x ' = x (a - b y) y ' = c y (x - d) 5 a=1 b=1 d=1 c =1

-1 -1 0 1 2 x 3 4 5

b)

c)

Vous aimerez peut-être aussi