summaryrefslogtreecommitdiff
path: root/374/CH3/EX3.7
diff options
context:
space:
mode:
Diffstat (limited to '374/CH3/EX3.7')
-rw-r--r--374/CH3/EX3.7/37.sci12
1 files changed, 12 insertions, 0 deletions
diff --git a/374/CH3/EX3.7/37.sci b/374/CH3/EX3.7/37.sci
new file mode 100644
index 000000000..11d8f12e1
--- /dev/null
+++ b/374/CH3/EX3.7/37.sci
@@ -0,0 +1,12 @@
+//chapter 3 example 7//
+clc
+clear
+//operating wavelength=l,total material dispersion=dtm,total waveguide dispersion=dtw,received pulse duration=Tr,transmitted pulse duration=T,approximate bit rate=Bmax,total dispersion=dtt,total intermodal dispersion=dtimd//
+dtm=2.81;//in nanoseconds//
+dtw=0.495;//in nanoseconds//
+T=0.5;//in nanoseconds//
+dtimd=0;
+dtt=sqrt((dtimd^2)+(dtm^2)+(dtw^2));//in nanoseconds//
+Tr=T+dtt;//in nanoseconds//
+Bmax=(1/(5*Tr))*1000;
+printf("\n approximate bit rate=%fMHz \n",Bmax);