refractive index(n) = sinisinr
where r = 180-(90+i) → r=90-i
since sin(90-i)=cos i
: refractive index(n) = sinicosi
→ tan i