summaryrefslogtreecommitdiff
path: root/3638/CH13/EX13.15/Ex13_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '3638/CH13/EX13.15/Ex13_15.sce')
-rw-r--r--3638/CH13/EX13.15/Ex13_15.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3638/CH13/EX13.15/Ex13_15.sce b/3638/CH13/EX13.15/Ex13_15.sce
new file mode 100644
index 000000000..c1557ddcd
--- /dev/null
+++ b/3638/CH13/EX13.15/Ex13_15.sce
@@ -0,0 +1,14 @@
+//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
+//Example 13.15
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+//given
+B=400e6;//Bit rate in b/s
+BER=1e-9;//Bit error rate
+L=100;//Total fiber length in km
+
+//The Total system rise time is given as:
+Ts=0.7/B;//The expression for total rise time under NRZ transmission in s
+mprintf("\n The total system rise time Ts=%.2f ns",Ts/1e-9);//Dividing by 10^(-9) to convert into ns