Post Reply 
Solve System of differential equations
01-05-2019, 08:47 PM
Post: #4
RE: Solve System of differential equations
Correct syntax for second member is
s:=desolve(y'=[[1,0],[0,2]]*y + [3,4] ,t,y)
The reason is that y is a line vector, not a column vector. Indeed desolve returns a list of generic solutions, even for linear ODE, because you might get several generic solutions for non linear ODE. That mean that the solution y is s[0], i.e. a line vector.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Solve System of differential equations - parisse - 01-05-2019 08:47 PM



User(s) browsing this thread: 2 Guest(s)