blob: 01e2b3a6798df961099f07fe5617cdf130e2c0ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clear
//
//
//
//Variable declaration
lamda=1.1*10^-6; //wavelength(m)
r=60/2*10^-6; //radius(m)
NA=0.25; //numerical aperture
//Calculations
V=2*%pi*r*NA/lamda;
Nm=V^2/4; //number of guided modes
//Result
printf("\n number of guided modes is %0.3f ",Nm)
|