summaryrefslogtreecommitdiff
path: root/2183/CH3/EX3.9/Ex_3_9.sce
blob: b8b06f3f19a965e969fb6db4213cd73aff3a5150 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Example 3.9 // Total loss and Average insertion loss
clc;
clear;
close;
//given data :
N=32;
Pin=10^3;
a=14;// in micro-W
pf=a*N;
s_loss=10*log10(N);
e_loss=10*log10(Pin/pf);
T_loss=s_loss+e_loss;
disp(T_loss,"Total loss,(dB) = ")
I_loss=10*log10(Pin/a);
disp(I_loss,"The insertion loss,(dB) = " )