I have to write 1-i in exponential form. Please check my answer. If it is okay, yeah! If it is incorrect, could you help me?

r=sq.rt.(1^2 - (i)^2)

r=sq.rt.(1 + 1)

r=sq.rt.(2)

arctan 1/1 = pi/4 (45 degrees) cos pi/4 = .707, sin pi/4 = .707

.707/.707 =1

My answer: sq.rt.2(e^ipi/4)

Is this correct?