Question: Stiff ODE nonlinear

Hi,i'm new with maple, please help me solve these 2nd order ODES :)

 

x''=-x/((x^2+y^2)^(3/2))

y''=-y/((x^2+y^2)^(3/2))

 

my codes are:

 

declare((x, y)*t)

deq2 := diff(x(t), `$`(t, 2)) = -x(t)/(x(t)^2+y(t)^2)^(3/2), diff(y(t), `$`(t, 2)) = -y(t)/(x(t)^2+y(t)^2)^(3/2)

ic2 := x(0) = 1, (D(x))(0) = 0, y(0) = 0, D(y) = 1

rosen := dsolve({ic2, deq2}, type = numeric, stiff = true, {x(t), y(t)})

 

this error shows everytime:

Error, (in dsolve/numeric/process_input) input system must be an ODE system, got independent variables {t, y}
 
Please Wait...