summaryrefslogtreecommitdiff
path: root/1061/CH10/EX10.8/Ex10_8.sce
blob: d6444caacacd14039424773185bd242c6f4b77d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Ex:10.8
clc;
clear;
close;
Br=50*10^6;// data rate in b/s
c=3*10^8;// speed of light in m/s
n1=1.47;// 
dl=0.02;// 
n12=n1*dl;// the difference b/w n1 and n2
L_si=(0.35*c)/(n12*Br);// transmission distance for Si fiber
L_GI=(2.8*c*n1^2)/(2*n1*n12*Br);// transmission distance for GRIN fiber
printf("The transmission distance for Si fiber =%f m", L_si);
printf("\n The transmission distance for GRIN fiber =%f m", L_GI);