1 2 3 4 5 6 7 8 9 10 11 12
clear //Given ug=1.5 uw=1.33 //Calculation u1=ug/uw sinC=1/u1 C=asin(sinC)*180/3.14 //Result printf("\n Critical angle is %0.2f degree",C)