diff options
Diffstat (limited to '848/CH1/EX1.7/Example1_7.sce')
-rwxr-xr-x | 848/CH1/EX1.7/Example1_7.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/848/CH1/EX1.7/Example1_7.sce b/848/CH1/EX1.7/Example1_7.sce new file mode 100755 index 000000000..0433a7b01 --- /dev/null +++ b/848/CH1/EX1.7/Example1_7.sce @@ -0,0 +1,15 @@ +//clear//
+//Caption: Power gain calculation for a signal travelling from
+//one point to another point
+//Example 1.7
+//page 14
+clear;
+clc;
+close;
+Loss_line1 = -9; //-9 dB
+Amp_gain2 = 14; //14 dB
+Loss_line3 = -3; //-3 dB
+dB_at_line4 = Loss_line1+Amp_gain2+Loss_line3;
+disp(dB_at_line4,'The amount of power gained by a signal travelling from point1 to point4 in dB = ')
+//Result
+//The amount of power gained by a signal travelling from point1 to point4 in dB = 2.
|