blob: 670ea828a1a1772f0e1c0bb914ce90f6c7118897 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Example 2.2.2 page 2.5
clc;
clear;
z=30; //Length of the fibre in kms
alpha= 0.8; //in dB
P0= 200; //Power launched in uW
pz= P0/10^(alpha*z/10);
printf("The output power is:%.4f uW",pz);
|