How to make r=1 to rectangular form?