Update equation.cpp