Question: Error, (in DEtools/convertsys) invalid specification of initial conditions

Hello everyone,

I am trying to solve a system of ODE's numerically but the problem is with the condition f(0)+g(0)=1.

Here is the system with the initial conditions,

restart:
ode1:=diff(f(x), x,x)+(f(x)+g(x))*diff(f(x),x)=0;
ode2:=diff(g(x), x,x)+(f(x)+g(x))*diff(g(x),x)=0;
ics:=f(0)+g(0)=1,D(f)(0) =0,D(g)(0) =1;
dsolve({ode1,ode2,ics},numeric);

which give an error

Error, (in DEtools/convertsys) invalid specification of initial conditions

The above system is a simplified form of a very complicated one.

 

Please Wait...