summaryrefslogtreecommitdiff
path: root/3547/CH9/EX9.1
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3547/CH9/EX9.1
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 '3547/CH9/EX9.1')
-rw-r--r--3547/CH9/EX9.1/EX9_1.pngbin0 -> 15419 bytes
-rw-r--r--3547/CH9/EX9.1/EX9_1.sce33
2 files changed, 33 insertions, 0 deletions
diff --git a/3547/CH9/EX9.1/EX9_1.png b/3547/CH9/EX9.1/EX9_1.png
new file mode 100644
index 000000000..b2d741bc8
--- /dev/null
+++ b/3547/CH9/EX9.1/EX9_1.png
Binary files differ
diff --git a/3547/CH9/EX9.1/EX9_1.sce b/3547/CH9/EX9.1/EX9_1.sce
new file mode 100644
index 000000000..c799bc44b
--- /dev/null
+++ b/3547/CH9/EX9.1/EX9_1.sce
@@ -0,0 +1,33 @@
+// Example 9.1
+// Calculation of the (a) the channel spacing, (b) the signal bandwidth in a channel and cther total bandwidth of the WDM signal, and (c) the total data rate.
+// Page no 392
+
+clc;
+clear;
+close;
+
+//Given data
+Bs=10*10^12; // Symbol rate
+n=6; // Spectral efficiency
+Fs=10*10^12; // Symbol rate
+N=12; // No of channels
+
+
+
+// (a) Channel spacing
+B=Bs*log2(64);
+f=B/n;
+
+// (b) Total bandwidth of the WDM signal
+T1=(N-1)*f+(2*Fs)/2;
+T1=T1*10^-12;
+// (c) Total data rate
+T2=N*B;
+T2=T2*10^-12;
+
+// Displaying results in the command window
+printf("\n Channel spacing = %0.0f GHz ",f*10^-12);
+
+printf("\n Total bandwidth of the WDM signal = %0.0f GHz ",T1);
+printf("\n Total data rate = %0.0f Gb/s ",T2);
+