//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)