Finding Critical Angle