summaryrefslogtreecommitdiff
path: root/3547/CH6/EX6.12/EX6_12.sce
blob: 6e61cc70f65f14ac458b8f8eebc9c55ba8e8c69f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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);