summaryrefslogtreecommitdiff
path: root/3638/CH13/EX13.2/Ex13_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3638/CH13/EX13.2/Ex13_2.sce')
-rw-r--r--3638/CH13/EX13.2/Ex13_2.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3638/CH13/EX13.2/Ex13_2.sce b/3638/CH13/EX13.2/Ex13_2.sce
new file mode 100644
index 000000000..39df7da91
--- /dev/null
+++ b/3638/CH13/EX13.2/Ex13_2.sce
@@ -0,0 +1,11 @@
+//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
+//Example 13.2
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+//given
+B=2.5e9;//pulse rate of signal in bits/sec
+
+mprintf("\n In the RZ format, we would require a bandwidth = %.2f GHz",B/1e9);//In RZ format, Deltaf=B and Division by 10^9 to convert into GHz
+mprintf("\n In the NRZ format, we would require a bandwidth = %.2f GHz",(B/2)/1e9);//In RZ format, Deltaf=B/2 and Division by 10^9 to convert into GHz