EC.AR.4.1: Compute the first and second partial derivatives of a function.