writes out the result as an equation...finally