Equation tested and printed to console.