(1)x^2-2x+m=x^2-2x+1+(m-1)=(x-1)^2+(m-1)=0 于是x-1=±√(1-m),于是x=1±√(1-m)
(2)x^2-√2x-1/2=x^2-√x+1/2-1=(x-√2/2)^2-1=0 于是x-√2/2=±1 于是 x=√2/2±1
(1)x^2-2x+m=x^2-2x+1+(m-1)=(x-1)^2+(m-1)=0 于是x-1=±√(1-m),于是x=1±√(1-m)
(2)x^2-√2x-1/2=x^2-√x+1/2-1=(x-√2/2)^2-1=0 于是x-√2/2=±1 于是 x=√2/2±1