summaryrefslogtreecommitdiff
path: root/2528/CH1/EX1.12/Ex1_12.sce
blob: c4a5f8766c8fefc5e9a73d5f4ccadd45a48d2734 (plain)
1
2
3
4
5
6
7
8
9
10
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