summaryrefslogtreecommitdiff
path: root/1061/CH5/EX5.6
diff options
context:
space:
mode:
Diffstat (limited to '1061/CH5/EX5.6')
-rwxr-xr-x1061/CH5/EX5.6/Ex5_6.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1061/CH5/EX5.6/Ex5_6.sce b/1061/CH5/EX5.6/Ex5_6.sce
new file mode 100755
index 000000000..db6ddf9f4
--- /dev/null
+++ b/1061/CH5/EX5.6/Ex5_6.sce
@@ -0,0 +1,20 @@
+//Ex:5.6
+clc;
+clear;
+close;
+n1=1.46;// core refractive index
+dl=0.01;// relative index difference
+L=10*10^3;// optical length in meter
+c=3*10^8;// the speed of light in m/s
+dt=(L*n1*dl)/c;// delay difference in s
+dT=dt*10^9;// delay difference in ns
+rm=(L*n1*dl)/(2*sqrt(3)*c);// rms pulse broadening s
+rM=rm*10^9;// rms pulse broadening ns
+bt=0.2/rm;// max bit rate in bit/sec
+bT=bt/10^6;// max bit rate in M bits/sec
+bl=bt*L;// bandwidth length product in Hz meter
+bL=(bt*L)/(10^6*10^3);// bandwidth length product in MHz km
+printf("The delay difference =%d ns", dT);
+printf("\n The rms pulse broadening =%f ns", rM);
+printf("\n The max bit rate =%f M bits/sec", bT);
+printf("\n The bandwidth length product =%f MHz km", bL); \ No newline at end of file