amiller

5 Reputation

One Badge

12 years, 145 days

MaplePrimes Activity


These are replies submitted by amiller

Thank You for the advice but, something happened when I cut and copied the code section into this forum. The asterik in the dsolve line is not there in my code. It is a space and I guess that shows up as an asterik. I removed the space and changed the colon at the end of the ivp declaration and the dslove lin both to semicolons. I still get an error. Below is what my code really looks like. Sorry for the confusion on the last post. Thank You for any help on this....It is greatly appreciated.

> e1 := diff(e(t), t)-0.325e-1e(t)+0.8e(t)*w(t):
> e2 := diff(w(t), t)+.6w(t)-0.05e(t)*w(t):
> sys := {e1, e2}:
> ic := {e(0) = 18.0, w(0) = 0.021}:
> ivp := sys union ic;
  {diff (e(t), t) - 0.0325 e(t) + 0.8 e(t) w(t), diff (w(t), t) + 0.6 w(t) - 0.05 e(t) w(t),e(0) = 18.0,w(0) = 0.021}
> H := dsolve(ivp, {e(t), w(t)}, numeric);
Error, (in dsolve/numeric/DAE/make_proc) invalid system of differential equations: no derivatives are present
>

Thank You for the advice but, something happened when I cut and copied the code section into this forum. The asterik in the dsolve line is not there in my code. It is a space and I guess that shows up as an asterik. I removed the space and changed the colon at the end of the ivp declaration and the dslove lin both to semicolons. I still get an error. Below is what my code really looks like. Sorry for the confusion on the last post. Thank You for any help on this....It is greatly appreciated.

> e1 := diff(e(t), t)-0.325e-1e(t)+0.8e(t)*w(t):
> e2 := diff(w(t), t)+.6w(t)-0.05e(t)*w(t):
> sys := {e1, e2}:
> ic := {e(0) = 18.0, w(0) = 0.021}:
> ivp := sys union ic;
  {diff (e(t), t) - 0.0325 e(t) + 0.8 e(t) w(t), diff (w(t), t) + 0.6 w(t) - 0.05 e(t) w(t),e(0) = 18.0,w(0) = 0.021}
> H := dsolve(ivp, {e(t), w(t)}, numeric);
Error, (in dsolve/numeric/DAE/make_proc) invalid system of differential equations: no derivatives are present
>

Page 1 of 1