Solving the Preliminary Example
continued from last page...)
First let's create a plot of the numerical solution for x(t). This has been stored in the variable prelimx, so graphing it is a simple task. Since we'll be using this graph in combination with others later, let's name it prelimxplot, and color the graph red. The command we need would be:
prelimxplot=Plot[prelimx,{t,-2,2}, PlotStyle->RGBColor[1,0,0]]
Issue the command in Mathematica, and return here.
We'll now go look at what you should have gotten...