summaryrefslogtreecommitdiff
path: root/728/CH7/EX7.1/Ex7_1.txt
blob: e6da56039174c0dc29dae3936b6f1e8147744071 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//Caption:Calculate the SWR of the transmission line
//Exa:7.1
clc;
clear;
close;
//Given:
c=3*10^10;//in cm/s
a=4;//in cm
b=2.5;//in cm
f=10*10^9;//in Hz
d=0.1;//distance between 2 minimum power points(in cm)
//For TE10 mode:
wl_c=2*a;
wl_o=c/f;
wl_g=wl_o/sqrt(1-(wl_o/wl_c)^2);
S=wl_g/(%pi*d);
disp(S,'Voltage standing wave ratio =');