1 2 3 4 5 6 7 8 9
clc; clear; n1=1 n2=3.66 //Calculation theta_c=asind(n1/n2) mprintf("Critical angle for GaAs-air interface= %2.1f degrees",theta_c)