1 2 3 4 5 6 7 8 9
//Example 7_15 clc(); clear; //To calculate the numerical aperture n1=1.55 n2=1.50 n0=1 NA=sqrt(n1^2-n2^2)/n0 printf("The numerical aperture is %.2f",NA)