summaryrefslogtreecommitdiff
path: root/2528/CH1/EX1.3/Ex1_3.sce
blob: ae4bc79e5c06dfd77e900ef095cb36f55cb91427 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Chapter 1
//Ordinary power gain
//page 15
//Example no 1-3
//Given
clc;
G1=23;      //in dB      
G=10^(G1/10);
printf("\n The ordinary power gain is %.4f  \n",G);   // Result
Pin=10^-3;      //in mW
Pout=Pin*G;
printf("\n The output power is %.4f mW \n",Pout);   // Result