Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Euler method for a system
Replies: 1   Last Post: Nov 9, 2009 2:39 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Carp Fisher

Posts: 30
From: Minnesota
Registered: 1/29/09
Euler method for a system
Posted: Nov 7, 2009 4:08 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have the two equations:

dx/dt = -2x
dy/dt = 5x - y

x(0) = 5
y(0) = 1

for t values between 1 and 200

I want to use the Euler method to solve this system and then graph each x and y vs t.

Could someone point me to a code that could do this? Don't worry, I don't need to come up with the code myself, so helping me out here isn't contributing to cheating in anyway. Thanks,

Jim



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2009. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Goodwin College of Professional Studies.