Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Solve the system x’=4x-2xy; y’=-3y+3xy; with initial condition varying in the rectangle [0,7]X[0,7]. Use at least five different points.

Asked by Jenn

Jenn (view profile)

on 9 Oct 2013
Latest activity Commented on by sixwwwwww

sixwwwwww (view profile)

on 10 Oct 2013

Can someone please help me with this, I am new using the program and I really do not know what to do,

1 Comment

Walter Roberson

Walter Roberson (view profile)

on 10 Oct 2013

Nasty little system, not very tractable to analysis.

Jenn

Jenn (view profile)

Tags

Products

No products are associated with this question.

2 Answers

Answer by sixwwwwww

sixwwwwww (view profile)

on 10 Oct 2013
Edited by sixwwwwww

sixwwwwww (view profile)

on 10 Oct 2013

I will come back to it soon

6 Comments

sixwwwwww

sixwwwwww (view profile)

on 10 Oct 2013

But for different initial conditions we will have different integration constants values. Then it should work

Walter Roberson

Walter Roberson (view profile)

on 10 Oct 2013

Even with specific boundary conditions, the integrals along the way have the singularity at x = 0 or y = 0

sixwwwwww

sixwwwwww (view profile)

on 10 Oct 2013

Probably you are right it's not easy to solve it directly. Thanks for correction

sixwwwwww

sixwwwwww (view profile)

Answer by Walter Roberson

Walter Roberson (view profile)

on 10 Oct 2013

Hint: for

x' = 2*x^3 + sin(x)     %random example

you would code

fun = @(x) 2 * x.^3 + sin(x);
ode45(fun, [StartTime, EndTime], [InitialX, InitialY])

such as

ode45(fun, [0 20], [3 7])

0 Comments

Walter Roberson

Walter Roberson (view profile)

Contact us