diff options
Diffstat (limited to '2414/CH1/EX1.6/Ex1_6.sce')
-rwxr-xr-x | 2414/CH1/EX1.6/Ex1_6.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/2414/CH1/EX1.6/Ex1_6.sce b/2414/CH1/EX1.6/Ex1_6.sce new file mode 100755 index 000000000..64eb8f383 --- /dev/null +++ b/2414/CH1/EX1.6/Ex1_6.sce @@ -0,0 +1,11 @@ +clc;
+//page 10
+//ex-1.6
+
+G=0.28; //Absolute gain
+Gdb=10*log10(G);
+disp('dB',Gdb,+'Decibell gain is');
+P1=1;
+P2=.28; //28 % of input power
+Ldb=10*log10(P1/P2); //dB loss
+disp('dB',Ldb,+'Decibell loss is:');
|