Equation2 function skeleton finished