Page 1 sur 1

odesolve

Publié : mar. mai 08, 2018 3:08 pm
par XcasEngGuy
Can odesolve be used for systems of equations? Like:
y1''=-b1*y1'-k1*y1-k2*(y1-y2)=b2*y1'-y2')+1
y2''=-b2*(y2'-y1')-k2*y2-y1)

Re:

Publié : mar. mai 08, 2018 4:17 pm
par parisse
Yes, but the system must be rewritten as a system of order 1.
Note that your example is linear with constant coefficients and can be solved exactly by desolve, once rewritten as a system of order 1.

Re:

Publié : mer. mai 09, 2018 5:00 pm
par XcasEngGuy
I understand. Thank you.