Calculating higher-order derivatives - Concavity preview