summaryrefslogtreecommitdiff
path: root/2453/CH11/EX11.1/11_1.sce
blob: 77963026bc5ceff1756ffa1d490589d33ef359b0 (plain)
1
2
3
4
5
//To calculate the numerical aperture
n1 = 1.55;    //refractive index of core
n2 = 1.50;    //refractive index of cladding
NA = sqrt(n1^2 - n2^2);
printf("numerical aperture is %5.3f",NA);