Skip to main content
edited body
Source Link
bill s
  • 69.7k
  • 4
  • 103
  • 198

Here's an example:

a = {{a11, a12}, {a21, a22}};
x[t_] = {x1[t], x2[t]}; 
sol = DSolve[x''[t] == a.x[t] + b , x[t], t]

If you have specific numbers then you can use NDSolve. You can find lots of examples int hein the help files.

Here's an example:

a = {{a11, a12}, {a21, a22}};
x[t_] = {x1[t], x2[t]}; 
sol = DSolve[x''[t] == a.x[t] + b , x[t], t]

If you have specific numbers then you can use NDSolve. You can find lots of examples int he help files.

Here's an example:

a = {{a11, a12}, {a21, a22}};
x[t_] = {x1[t], x2[t]}; 
sol = DSolve[x''[t] == a.x[t] + b , x[t], t]

If you have specific numbers then you can use NDSolve. You can find lots of examples in the help files.

Source Link
bill s
  • 69.7k
  • 4
  • 103
  • 198

Here's an example:

a = {{a11, a12}, {a21, a22}};
x[t_] = {x1[t], x2[t]}; 
sol = DSolve[x''[t] == a.x[t] + b , x[t], t]

If you have specific numbers then you can use NDSolve. You can find lots of examples int he help files.