Solving 3 simultaneous first order differential equations

2 Ansichten (letzte 30 Tage)
Abhivyakti
Abhivyakti am 26 Dez. 2013
Bearbeitet: Torsten am 5 Jun. 2019
I need to solve the following set of differential equations in Matlab.
Here, um,Ks,Kp,a,sm,yxs,K1,K2-constant values s,p,x- variables
I need to solve the last three differential equations. As much as I understand, these are 3 first order simultaneous differential equations.
I can't figure out how to acknowledge the variation of u (first equation) in the rest of the equations.
Can anyone help with this?

Akzeptierte Antwort

Mischa Kim
Mischa Kim am 28 Dez. 2013
Bearbeitet: Mischa Kim am 28 Dez. 2013
If none of the variables s, p, x depend on µ you can simply go ahead and solve the three differential equations. Once solved you can get µ as a function of time by plugging in s(t) and p(t) in the first equation.
  5 Kommentare
Ranganatha B R
Ranganatha B R am 5 Jun. 2019
If you remove that you will get an error as to y is not defined. You cannot have an expression called y(1)
Torsten
Torsten am 5 Jun. 2019
Bearbeitet: Torsten am 5 Jun. 2019
y is one of the inputs for function "react". Thus there will be no error removing "y=zeros(3,1)".

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by