diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1061/CH5/EX5.6 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1061/CH5/EX5.6')
-rwxr-xr-x | 1061/CH5/EX5.6/Ex5_6.sce | 20 |
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 |