- #1
musicgirl
- 12
- 0
Hi,
I'm trying to make a table/matrix in mathematica to describe a system of differential equations that I have. At the moment, what I want is a table with the first column reading
(A*v*(1-v)*(1-a)-w-w0)/e
and the second column reading
v-g*w-v0
and I want to be able to arbitrarily define the number of equations I have so I can extend to higher dimensions.
I know how to get the array I'm after, for instance...
n = *insert appropriate number here*
Table[(A*v*(1-v)*(1-a)-w-w0)/e,{i,n},{j,2}]
But I don't know how to get a different set of equations in the second column. Any ideas, or am I taking the wrong approach entirely?
Thanks for your help!
I'm trying to make a table/matrix in mathematica to describe a system of differential equations that I have. At the moment, what I want is a table with the first column reading
(A*v*(1-v)*(1-a)-w-w0)/e
and the second column reading
v-g*w-v0
and I want to be able to arbitrarily define the number of equations I have so I can extend to higher dimensions.
I know how to get the array I'm after, for instance...
n = *insert appropriate number here*
Table[(A*v*(1-v)*(1-a)-w-w0)/e,{i,n},{j,2}]
But I don't know how to get a different set of equations in the second column. Any ideas, or am I taking the wrong approach entirely?
Thanks for your help!