summaryrefslogtreecommitdiff
path: root/3834/CH3/EX3.3.3/Ex3_3_3.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3834/CH3/EX3.3.3/Ex3_3_3.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3834/CH3/EX3.3.3/Ex3_3_3.sce')
-rw-r--r--3834/CH3/EX3.3.3/Ex3_3_3.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3834/CH3/EX3.3.3/Ex3_3_3.sce b/3834/CH3/EX3.3.3/Ex3_3_3.sce
new file mode 100644
index 000000000..a9501fe6b
--- /dev/null
+++ b/3834/CH3/EX3.3.3/Ex3_3_3.sce
@@ -0,0 +1,22 @@
+//Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
+//Example 3.3.3
+//windows 7
+//Scilab version-6.0.0
+clc;
+clear;
+//given
+L=5;//fiber length in km
+NA=0.275;//numerical aperture
+c=3E5;//speed of light in km
+n1=1.48;//refractive index
+
+p=2*c*n1;
+
+e=NA*NA;
+
+d=L*e;
+
+deltatsi=(d/p)*1E9;//pulse spreading in ns //answer vary due round-off
+deltatsi_by_L=(deltatsi/L)//pulse spreading per unit length in ns/Km//answer vary due round-off
+Maximum_bit_rate=1e3/deltatsi_by_L//maximum bit rate in Mbits/s//multiplication by 1e3 to conver unit from Gbits/s to Mbits per sec
+mprintf("\n maximum bit rate = %.1f Mbits/s",Maximum_bit_rate);//answer vary due to rounding