# How to solve systems of differential equations using the command NSolveODE?

jospercomp shared this question 1 year ago

How do I transcribe these systems of differential equations to the NSolveODE command?

Case 1:

dx/dt=x+3y

dy/dt=5x+3y

Case 2:

dx/dt=3x-4y+1

dy/dt=4x-7y+10t

Case 3:

dx/dt+dy/dt+2x=0

dx/dt+dy/dt-x-y=sin(t)

Case 4

d^2x/dt^2=4y+e^t

d^2x/dt^2=4x-e^t now I see my first comment

I attached the other cases but there was some error

Case 3:

dx/dt+dy/dt+2x=0

dx/dt-dy/dt-x-y=sin(t) 1

case1 and case2 case3 with initial conditions added by me

case4 is wrong 1

You decide the initial conditions in the case1, case2, and case3 after the Locus solution does not give indefinite.  2

I suppose d^2y/dt^2=4x-e^t in case4 1

Case 4:

d^2x/dt^2=4y+e^t

d^2y/dt^2=4x-e^t

This is the correct syntaxis in case 4: 1

Thank you so much for the answer in case 4:  2

now I see my first comment

I attached the other cases but there was some error

Case 3:

dx/dt+dy/dt+2x=0

dx/dt-dy/dt-x-y=sin(t)