summaryrefslogtreecommitdiff
path: root/374/CH2/EX2.4/24.sci
blob: ce79231c49beb21cc17ed98e7c491e74a5ac2514 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//chapter2.example.4//
//core refractive index=n1,cut off value of V parameter for single mode operation=Vc,radius=a,cladding refractive index=n2,relative index difference between core and cladding=d,cut off wavelength=lc//
clc
clear
Vc=2.405;
n1=1.46;
d=0.0025;
a=5*(10^-6);//in metres//
h=sqrt(2*d);
x=(2*%pi*a*n1)/Vc;
lc=x*h*(10^6);
printf("\ncut off wavelength of the fibre=%f*(10^-6)mts.\n",lc);