endDeriv

Returns the end derivative.