end solving if the equation can't be solved