Question: Problem in solving the differential equation

can any body help me?

i want to solve the following differential equation 

d2x(t)/dt- 0.066405*sqrt((x(t))(2*r-x(t)))+0.00042105*dx(t)/dt



 

for this I ahve written the following program

restart

with(plots)

eq := diff(x(t), `$`(t, 2))-0.66405e-1*sqrt((x(t))(2*r-x(t)))+0.42105e-3*(diff(x(t), `$`(t, 1)))

pars := {r = 1}

eq := subs(pars, eq)

ICs := x(0) = 1, (D(x))(0) = 0

soln := dsolve({ICs, eq}, {x(t)}, type = numeric);

 

But it shows an error : "Error, (in dsolve/numeric/process_input) input system must be an ODE system, got independent variables {t, 2-x(t)}"

please help me to solve the problem

Please Wait...