Main Page | Report this Page
 
   
Science Forum Index  »  Mathematics Forum  »  runge kutta matrix problem
Page 1 of 1    
Author Message
Guest
Posted: Thu May 01, 2008 1:22 pm
Hi
I have to resolve problem like this:
Ax + B*(dx/dt) = y
x + C*(dy/dt) = D

where

x(0) = 0 ;
y(0) = 0;

I 'd like to use Runge_Kutta or other numerical method
Regard
kamil
Robert Israel
Posted: Thu May 01, 2008 8:16 pm
Guest
kamsta.exe@gmail.com writes:

Quote:
Hi
I have to resolve problem like this:
Ax + B*(dx/dt) = y
x + C*(dy/dt) = D

where

x(0) = 0 ;
y(0) = 0;

I 'd like to use Runge_Kutta or other numerical method

Sure, why not?

Write your equations as X' = F(X) where X = [x(t), y(t)].
The formulas for the vector version of Runge-Kutta are exactly
the same as for the scalar version.
--
Robert Israel israel@math.MyUniversitysInitials.ca
Department of Mathematics http://www.math.ubc.ca/~israel
University of British Columbia Vancouver, BC, Canada
Tim Little
Posted: Thu May 01, 2008 10:44 pm
Guest
On 2008-05-01, kamsta.exe@gmail.com <kamsta.exe@gmail.com> wrote:
Quote:
Hi
I have to resolve problem like this:
Ax + B*(dx/dt) = y
x + C*(dy/dt) = D

Since your subject line mentioned "matrix problem", do you mean that
A, B, and C are matrices instead of complex or real constants? Are x
and y vectors?


- Tim
 
Page 1 of 1       All times are GMT - 5 Hours
The time now is Tue Oct 07, 2008 9:57 pm