summaryrefslogtreecommitdiff
path: root/3763/CH10/EX10.10/Ex10_10.sce
blob: e81356d3ec35e9ef32b81225b9fc66526ee9e868 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
clear
//
//
//

//Variable declaration
a=50
n2=1.5              //refractive index of cladding
n1=1.53    //refractive index of core
lamda0=1    //wavelength(micro m)

//Calculation
V_number=(2*%pi*a*sqrt(n1**2-n2**2)/lamda0)     //V number

n=V_number**2/2     //maximum number of modes

//Result
printf("\n maximum number of modes is %0.3f  ",n)