Question: define a function for the derivative variable of an ode

i have an ode,which its derivatives are with respect to time,i want to use the output as a function of time to use it in a loop ,what should i do ?!

A:=a*diff(x(t),t,t)+b*diff(x(t),t)+c*x(t);

B:=solve(A,diff(x(t),t,t));

at first how can i define B as a function of t here?
how can i define initial conditons for this ?
for example :
a0:=diff(x(t),t,t) at time 0 (x(0)), but i do not know how to define this?

i also can not use B in a loop of time,t
for example i want to do :
for t from 1 to 10 do
B
od:

what should i do here? 
plz help me,i really need help with this. 

Please Wait...