summaryrefslogtreecommitdiff
path: root/728/CH7/EX7.2/Ex7_2.txt
blob: 514d3b9e6f10a33629843c2925e783a37eb34908 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Caption:Calculate the SWR of the main waveguide
//Exa:7.2
clc;
clear;
close;
//Given:
P_i=300;//in mW
P_r=10;//in mW
p=sqrt(P_r/P_i);
S=(1+p)/(1-p);
disp(S,'Voltage standing wave ratio =');