C.FGR.3.6: Calculate higher order derivatives.