diff options
Diffstat (limited to '3753/CH5/EX5.14/Ex5_14.sce')
-rw-r--r-- | 3753/CH5/EX5.14/Ex5_14.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3753/CH5/EX5.14/Ex5_14.sce b/3753/CH5/EX5.14/Ex5_14.sce new file mode 100644 index 000000000..9cf1347f8 --- /dev/null +++ b/3753/CH5/EX5.14/Ex5_14.sce @@ -0,0 +1,17 @@ +//Example 5.14, Page number 5.32 + +clc;clear;close + +// variable declaration +P_i=100 // input +P_o=2 // output +L=10 // in km + +// Calculations +S=(10/L)*log(P_i/P_o) // dB/km +O=S*L // dB + +// Result +printf("a)Signal attention per unit length = %.1f dB-km^-1",S) +printf("\nb)Overall signal attenuation = %.f dB",O) +// Answer given in the textbook is wrong |