Quantcast
Viewing all articles
Browse latest Browse all 164

Error, (in dsolve/numeric/process_input) unknown y[2] present in ODE system is not a specified dependent variable or evaluatable procedure

Hi, I'm trying to solve a system of equation and I keep getting this error. Could anyone help me figure out what I'm doing wrong?

My problem is:

> alpha := .3; G := 3.5; L := 6; f := 1.1;

for i to 50 do

I0 := x(z)+y[i](z); ICon := x(0) = 1, y[i](0) = 0;

for j to 50 do

i <> j;

d1 := diff(x(z), z) = -G*x(z)*y[i](z)/IC-alpha*x(z);

d2 := diff(y[i](z), z) = G*y[i](z)*y[j](z)/IC-alpha*y[i](z);

dsys := {d1, d2};

F := dsolve({ICon, op(dsys)}, [x(z), y[i](z)], numeric);

end do;

end do;
Error, (in dsolve/numeric/process_input) unknown y[2] present in ODE system is not a specified dependent variable or evaluatable procedure


 


Viewing all articles
Browse latest Browse all 164

Trending Articles