How to find critical angle using n?