summaryrefslogtreecommitdiff
path: root/1979/CH6/EX6.12/Ex6_12.sce
blob: 66ecb934e74a9c54115620b31de0f86dbe26669e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//chapter-6 page 244 example 6.12
//==============================================================================
clc;
clear;

x=3.5;//distance between two minimas in cm
y=0.25;//distance between twice minimum power points in cm

//CALCULATION
wg=2*x;//guided wavelength in cm
S=(wg/(y*(%pi)));//Voltage Standing Wave Ratio(VSWR)

//OUTPUT
mprintf('\nVoltage Standing Wave Ratio(VSWR) is S=%1.4f',S);

//=========================END OF PROGRAM===============================