summaryrefslogtreecommitdiff
path: root/3554/CH20/EX20.3/Ex20_3.sce
blob: cd3a49072f11e3869a5c0a1337005b5b31eeea14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Exa 20.3

clc;
clear all;

// Given data

Vmax=8;//Maximum value of voltage
Vmin=2;//minimum value of voltage

//Solution
SWR=(Vmax+Vmin)/(Vmax-Vmin);//Standing wave ratio
printf('Standing Wave Ratio = %.2f \n ',SWR);