derivatives, stationary points and inflexions