Solve for u u^2-2u+1=0