Consider the given equation,
(cosx+isinx)=1√2+1√2i
cosx=1√2 $ ....(1)
sinx=1√2 ……(2)
From equation (1),
cosx=1√2=cosπ2
x=π4
From equation 2nd,
sinx=1√2=sinπ4
Hence, this the answer.