1 2 3 4 5 6 7
//Example 7_22 clc(); clear; //To calculate the numerical aperature theta=26.80 //units in degrees NA=sin(theta*%pi/180) printf("The numerical aperature is %.4f",NA)