summaryrefslogtreecommitdiff
path: root/3822/CH3/EX3.6/Ex3_6.sce
blob: 414a778dce01d11a8a3b94f0216722d15aed81c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24


//Optoelectronics and Fiber Optics Communication by C.R. Sarkar and D.C. Sarkar
//Example 3.6
//OS = Windows 7
//Scilab version 5.5.2

clc;
clear;

//given

n1=1.55;//refractive index of core
n2=1.51//refractive index of cladding
no=1//refractive index of air
C=3e8//velocity of light in m/s
deltan=n1-n2;//relative refractive index
NA=((n1+n2)*deltan)^0.5;//Numerical aperture
alpham=asind(NA)//acceptance angle in degrees
deltatbyZ=(n1/n2)*deltan/C//multiple time dispersionin s/m
mprintf("Numerical Aperture is=%.2f",NA);
mprintf("\nAcceptance angle is=%.2f degree",alpham)
mprintf("\nMultiple time dispersion is=%.2f ns/Km",deltatbyZ*1e12)//multiplication by 1e12 to convert unit from s/m to ns/Km
//the answer vary slightly due to rounding