blob: ddfc497dc0adf6e1e7acb15908a588751b19ad91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear
//
//
//
//Variable declaration
a=100*10**-6
NA=0.3 //numerical aperture(m)
lamda=850*10**-9 //wavelength(m)
//Calculation
V_number=(2*%pi**2*a**2*NA**2/lamda**2) //number of modes
printf("\n total number of modes is %0.3f",2*V_number)
//Result
|