Simon,
As suggested by Frank, you can use DSolve[]
for this problem. The problem with NDSolve[]
is that solution interpolation order is not enough to produce "nice" result. You need to set InterpolationOrder option to get a better one:
nds = NDSolve[{x'''''[t] == f, x''''[0] == 0, x'''[0] == 0,
x''[0] == 0, x'[0] == 0, x[0] == 0}, x, {t, 0, tMax},
MaxSteps -> Infinity,
Method -> {"ImplicitRungeKutta", "DifferenceOrder" -> 20},
InterpolationOrder -> All
];
I.M.