The total number of solutions of loge|sinx|=−x2+2x in [0,π] is equal to
Find the real part of the complex number (1−i)(1+i)