diff options
Diffstat (limited to '3547/CH6/EX6.12/EX6_12.sce')
-rw-r--r-- | 3547/CH6/EX6.12/EX6_12.sce | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/3547/CH6/EX6.12/EX6_12.sce b/3547/CH6/EX6.12/EX6_12.sce new file mode 100644 index 000000000..6e61cc70f --- /dev/null +++ b/3547/CH6/EX6.12/EX6_12.sce @@ -0,0 +1,30 @@ +// Example 6.12
+// Calculation of the ASE power spectral density per polarization.
+// Page no 296
+
+clc;
+clear;
+close;
+
+//Given data
+
+si=30; // Electrical SNRs at the amplifier input
+so=25; // Electrical SNRs at the amplifier output
+po=2; // Signal power at output
+pi=-13; // Signal power at input
+h=6.626*10^-34; // Planck constant
+f=195*10^12;
+
+// The ASE power spectral density per polarization
+fn=si-so;
+fn=10^(fn/10);
+G=po-pi;
+G=10^(G/10);
+r=(h*f*(G*fn-1))/2;
+r=r*10^18;
+
+//Displaying results in the command window
+printf("\n The ASE power spectral density per polarization = %0.3f x 10^-18 W/Hz ",r);
+
+
+
|