Example 2 steps, run in order in one session. Every step was executed against the engine and the output below is what it produced.
sol = NDSolve[{y'[t] == 15 / 4 - Floor[y[t]] + DiracDelta[t - 2], y[0] == .1}, y, {t, 0, 6}];No output - this step sets something up for the next one.
Plot[Evaluate[{y[t], y'[t]} /. sol], {t, 0, 6}, PlotLegends -> {"y(t)", "y'(t)"}]-Graphics-All recipes · Function reference · Use this from an MCP client