Performing Mathematical Operations on Equation