summaryrefslogtreecommitdiff
path: root/728/CH7/EX7.4/Ex7_4.sce
blob: cf0c5872d34b2523789aba27247015a60dfa08fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Caption:Calculate the value of reflected power
//Exa:7.4
clc;
clear;
close;
//Given:
P_i=4.5;//in mW
S=2;//VSWR
C=30;//in dB
p=(S-1)/(S+1);
P_f=P_i/(10^(C/10));
P_r=p^2*P_i;
disp(P_r,'Reflected power (in watts) =');