summaryrefslogtreecommitdiff
path: root/3630/CH8/EX8.7/Ex8_7.sce
blob: 275fe7b2a64dd5c16b2c5bf65e1efe592ede8fda (plain)
1
2
3
4
5
6
clc;
Pout=2; //watt
Pin=0.0001; //watt
ApdB=10*log10(Pout/Pin);
disp('dB',ApdB,"ApdB=");//The answers vary due to round off error