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