# System of non-linear ODEs and estimating unspecified initial conditions on Maple 12

I have the following 1st order equations and need to solve them using Maple 12. There are unspecified initial conditions and can only be estimated through the Newton raphson method. My problem is how do I implement it so that the equations are numerically solved using rk4-order. Tried out with BVPsolve but doesn't work. this is in line with works by Makinde. "On MHD boundary-layer flow and mass transfer past a vertical plate in a porous medium with constant heat flux."

> k1 := diff(X(t), t) = X(t);
> k2 := diff(X(t), t) = M*(X(t)-1)-(2*(eta+b))*X(t);
> k3 := diff(X(t), t) = X(t);
> k4 := diff(X(t), t) = (2*Sc*Du*(eta+b)*X(t)-Du*lambda*X(t)-2*Pr*(eta+b)*X(t)-   Pr*Ec*X(t)^2-Pr*Ec*M*(X(t)-1)^2)/(1-Du*Sr);
> k5 := diff(X(t), t) = X(t);
> k6 := diff(X(t), t) = (lambda*X(t)+2*Pr*Sr*(eta+b)*X(t)+Pr*Sr*Ec*X(t)^2+Pr*Sr*Ec*M*(X(t)-1)^2-2*Sc*(eta+b)*X(t))/(1-Du*Sr);
> ICS := X(0) = 0, X(0) = S, X(0) = 1, X(0) = S, X(0) = 1, X(0) = S;

• The X1-X4 don't depend on 't', so you're not defining a set of ODEs. You should write k1 := diff(X1(t),t) = X2(t) etc – GertVdE Jan 10 '13 at 9:24
• Have you tried using the rkf45 function in maple? – Paul Jan 10 '13 at 15:37