Take the first-order delay differential equation with delay 1 and initial history function

. Use
NDSolve to solve it and store the solution in
sol1. The first argument to
NDSolve is the delay differential equation, the second argument is the variable you want to solve for, and the third is the range of the variable:
Plot the solution
x[t] and its first derivative
x'[t]. To see these in different colors wrap
Evaluate around them. You will also need to load the Plot Legends package if you want to add a legend to the plot:
Use
Manipulate to let you change the initial function:
Solve a first-order delay differential equation with two constant delays,

and 1, and the initial history function

:
Plot the solution
x[t] and its first derivative
x'[t]. To see these in different colors wrap
Evaluate around them:
Solve a second-order delay differential equation with constant delay 1 and the initial history function

:
Plot the solution
x[t] and its first two derivatives
x'[t] and
x''[t]. To see these in different colors wrap
Evaluate around them:
For an explanation of the terms associated with delay differential equations, see
"Delay Differential Equations".