Hello, I am trying to plot the functions generated by the NDSolve command. I am using the code:
sol = NDSolve[{Derivative[1][an][t] == an[t]*Re[lambda[x, t]] + 0.5*Re[H[x, x/2, t]]*(an2[t]^2 - bn2[t]^2) +
0.5*Im[H[x, x/2, t]]*(an2[t]*bn2[t] + an2[t]*bn2[t]), Derivative[1][an2][ t] == (Re[lambda[x/2, t]] + Cc[x, t]*an[t])*
an2[t] +(Im[lambda[x/2, t]] + Dd[x, t]*an[t])*bn2[t], Derivative[1][bn2][ t] == (Re[lambda[x/2, t]] - Cc[x, t]*an[t])*
bn2[t] +(-Im[lambda[x/2, t]] + Dd[x, t]*an[t])*an2[t], an[.0] == 1/4000, an2[.0] == 1/5000, bn2[.0] == 1/5000},
{an[t], an2[t], bn2[t]}, {t, .0, 2*tzero}, AccuracyGoal -> 1000]
The command itself works just fine. It returns 3 functions for an[t], an2[t] and bn2[t]. Then I tryed to use the command:
Plot[Evaluate[an[t] /. sol], {t, 0, tzero}, PlotRange -> All]
Plot[Evaluate[an'[t] /. sol], {t, 0, tzero}, PlotRange -> All]
The first one works, I got the plot of an[t] versus t. But the second one does not work. I got a blank plot. Can't figure out why it is not working. Can someone help me?
Thank you.