summaryrefslogtreecommitdiff
path: root/273/CH24/EX24.3/ex24_3.sce
blob: ac62e67bca0e6e1724205ef2101bcad8ca599421 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clc;clear;
//Example 24.3
//calculation of normalised frequency

//given values
n=1.45;//core refractive index
d=.6;//core diametre in m
N=.16;//numerical aperture of fibre
l=.9*10^-6;//wavelength of light

//calculation
u=sqrt(n^2+N^2);//index of glass fibre
V=%pi*d*sqrt(u^2-n^2)/l;
disp(V,'normalised frequency is');