suggestion on faster solving set of nonlinear ODEs...

#first_question :how can i solve set of nonlinear ODEs,faster or using any packages ?
#second_question :what can be some boundary conditions for this type of nonlinear ODEs? how many BCs are required for this set of nonlinear ODEs? ( to use numeric solution)

 > restart:with(DEtools):with(DifferentialAlgebra):
 > eq[1]:=diff(N(r),r\$2)+2/r*diff(N(r),r)+diff(phi(r),r)/phi(r)*diff(N(r),r)-mu^2/(32*phi(r))*N(r);
 (1)
 > eq[2]:=diff(phi(r),r\$2)+2/r*diff(phi(r),r)-1/2*diff(phi(r),r)^2/phi(r)-8*diff(N(r),r)^2/(omega*(1-2*G*M/r))*phi(r);
 (2)
 > dsolve({eq[1],eq[2]});

method = lsode doesnot work on Coupled IVP...

the Initial value problem is well defined but i could not find solution of the problem. A number of method have been used but all are useless. How to obtained graph of the all equations. Also can we find the value of R (radius) where P is zero.coupled_IVP.mw

problem with simple ODE...

Dear Community,

I try to solve the following very simple ODE symbolically with the ODE Analyzer assistant, yet Maple says "unble to obtain solution". :-/

If I try to slove it with dsolve, nothing happens. Is it really so difficult?

diff(p(h),h)=A/(B+C*p(h)), p(h0)=p1

A, B, C, h0 and p1 are constants. I use Maple 2016.

best egards

Andras

How to solve and plot system differential equation...

How to solve this problem? I want to display plot of differential equation system

Thank you :)

how can i draw a plot rkf45 ...

i want to draw plot Y[1] . but i cant. thank you

restart;
with(LinearAlgebra); Digits := 15; with(plots); with(Optimization);;
NewM := Matrix(5, 5, [[4119700.0000, 0., 0., 0., 0.], [0., 175900.0000, 0., 0., 0.], [0., 0., 52796., 0., 0.], [0., 0., 0., 2002900.0000, 0.], [0., 0., 0., 0., 21711.]]); NewK := Matrix(5, 5, [[18278000.0000, 0., 0., 0., 0.], [0., 8478500.0000, 0., 0., 0.], [0., 0., 3874800.0000, 0., 0.], [0., 0., 0., 494710000.0000, 0.], [0., 0., 0., 0., 7707500.0000]]); L := Vector[column](5, [400689.480747934, 36882.2103608425, 24223.1756570268, 7197.48654698287, 5007.64668721342]); V := Vector[column](5, [4.43679672962542, 48.2014976972537, 73.3916065733549, 246.999805581163, 355.012621460930]);
Phi := Matrix(5, 5, [[1., 1., 1., 1., 1.], [1.96506022575420, 1.62041320563413, 1.42204109823483, 0.548765310483432e-1, -.795724394004826], [9.21473910149806, 2.36597630710861, -.837387679777313, -8.23805381555997, 0.930594200639915e-1], [10.5672146719479, 1.26937656539014, -.710851068914949, 12.5801876194058, -0.564138989400088e-1], [12.4282433098880, -2.02516824673162, .481291188486771, -1.71479964168293, 0.513709374343217e-2]]);
NS := ImportMatrix("D:/tabas.txt", datatype = float[8]);
t_NS := NS[() .. (), 1];
acc_NS := NS[() .. (), 2];
plot(NS, t = 0 .. 4.5, size = [800, 400]);
acc := unapply(CurveFitting:-Spline(t_NS, acc_NS/(9.81), t, degree = 1), t);
eq := seq(diff(x[i](t), t\$2)+(2*0.5e-1)*sqrt(V[i])*(diff(x[i](t), t))+V[i]*x[i](t) = L[i]*acc(t)/NewM[i, i], i = 1 .. 5, 1);
ic := [seq({x[i](0) = 0, (D(x[i]))(0) = 0}, i = 1 .. 5, 1)];
sol := seq(dsolve({eq[i], ic[i][]}, numeric, output = listprocedure), i = 1 .. 5, 1);
Z := `<,>`(seq(sol[i][2], i = 1 .. 5));
#Y := Phi . Z;
#odeplot(Y[1], t = 0 .. 10);
tabas.txt

1.mw

how can i draw the plot of solution of Runge–Kutta...

how can i draw the plot of solution of Runge–Kutta methods

@rkt4.mw

problem with an ode...

i want to solve an ode , but maple return an integral in result, how can i have an answer?

 > restart:
 > eq:=1/(x*y^(2/3))*8.620689655172415*10^(-16)*(-3.11*10^23*x^2*y^(7/6)-3.92*10^19*y^(25/6)+2.14545039999999*10^29*(0.0108*exp(-45.07/y)+exp(-19.98/y^(1/3)-0.00935317203476387*y^2)))/(x+0.015*y^(1.2));
 (1)
 > eq:=subs(y=y(t),eq):
 >
 > ans:=dsolve(diff(y(t),t)=eq);
 (2)
 >
 >
 >

How do I solve a set of differential equations in ...

Hi, my dear friend,

i am solving 9 ODE with boundary conditionsNigam.mw

 >
 (1)
 >
 (2)
 >
 (3)
 >
 (4)
 >
 (5)
 >
 (6)
 >
 (7)
 >
 (8)
 >
 (9)
 >
 (10)
 >
 (11)
 >
 (12)
 >
 (13)
 >
 (14)
 >
 >

Maple Worksheet - Error

Failed to load the worksheet

then i got this error

Error, (in dsolve/numeric/bvp) initial Newton iteration is not converging

i dont know where i need to change.. could you help me..

Computational and Numerical Analyst...

Hello everyone.

Please can I meet with Computational or/and Numerical anlysts that have worked or working on the algorihms particularly (Runge Kutta Nystrom, Block multistep methods including hybrid and Block Boundaru Value methods) for the solution of both IVP and BVP.

I will appreciante if I can learn from them and possibly collaborate with them. Thank you in anticipation of your positive response.

Transform arbitrary ODE system into first order fo...

Imagine we have an ODE system

odeSys := {diff(x(t),t\$2)+diff(x(t),t)+x(t)=f(t),diff(y(t),t\$2)+2*diff(y(t),t)+3*y(t)=g(t)};

It is easy to transform this system into a first order form by hand. But for larger systems, the procedure by hand becomes very error prone. Is there an intelligent way to transform a system of n scalar ODEs (order m) into a first order system? I know that the first order form is not unique. It is only important to reduce the system to a system of first order equations.

How to solve a simple PDE?...

I want to solve the system of differential equations
sys :=
diff(x(t,s),t) = y(t,s),
diff(y(t,s),t) + x(t,s) = 0;

subject to the initial condition
ic := x(0,s) = a(s),
y(0,s) = b(s);

where a(s) and b(s) are given.

This looks like a system of PDEs but actually it is a system
of ODEs because there are no derivatives with respect to s.
It is easy to obtain the solution by hand:

x(t,s) = b(s)*sin(t) + a(s)*cos(t)
y(t,s) = b(s)*cos(t) - a(s)*sin(t)

I don't know how to get this in Maple, either through dsolve()
or pdsolve().

Actually both dsolve({sys}) and pdsolve({sys}) do return
the correct general solution, however dsolve({sys, ic})
or pdsolve({sys, ic}) produce no output.  Is there a trick
to make the latter work?

differential equation...

i want to solve this equation,

y''(x)=5*exp(-10/y'(x)) on ]0,15[ with y(0)=0,y(15)=2

can any one help me ? thank you

How to avoid error in ODE?...

Hi, I'm trying to solve this ode:
restart; with(plots); with(DEtools);

l := t -> 0.5*tanh(0.5*t);

deq := diff(f(t), t)*l(t)*(diff(f(t), t, t)*l(t)+9.8*sin(f(t)))+diff(l(t), t)*(diff(f(t), t)^2*l(t)-9.8*cos(f(t))+4*(l(t)-0.5)) = 0;

sol := dsolve({deq, f(0) = 0, D(f)(0) = 0.1}, f(t), numeric);

but getting an error:

Error, (in dsolve/numeric/checksing) ode system has a removable singularity at t=0. Initial data is restricted to {f(t) = 1.77632183122019}

How can I possibly fix this?

how do I remove the error "initial Newton iteratio...

Respected member!

Please help me in finding the solution of this problem....

 >
 >
 >
 >
 >
 >
 >
 (1)
 >
 (2)
 >
 >