summaryrefslogtreecommitdiff
path: root/2528/CH1/EX1.12/Ex1_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '2528/CH1/EX1.12/Ex1_12.sce')
-rwxr-xr-x2528/CH1/EX1.12/Ex1_12.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2528/CH1/EX1.12/Ex1_12.sce b/2528/CH1/EX1.12/Ex1_12.sce
new file mode 100755
index 000000000..c4a5f8766
--- /dev/null
+++ b/2528/CH1/EX1.12/Ex1_12.sce
@@ -0,0 +1,11 @@
+// Chapter 1
+// Gain of the amplifier
+//page 19
+//Example no 1-12
+//Given
+clc;
+Pin1=20; //in dBm
+Pin=-10; //in dBW
+Pout=25; //in dBW
+G=Pout-Pin;
+printf("\n The gain of amplifer is %.0f dB",G);// Result