summaryrefslogtreecommitdiff
path: root/1979/CH5/EX5.3/Ex5_3.sce
blob: 6d64c7c4a24596b14a2fa98097776d99886ea50a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//chapter-5 page 175 example 5.3
//==============================================================================
clc;
clear;

//For a circular resonator 
D=12.5;//diameter in cm
l=5;//length of circular waveguide in cm
disp('Given the mode of operator is TM012 so here n=0,m=1,p=2');
c=3*10^10;//Velocity of light in cm/sec
m=1;
n=0;
p=2;
Pnm=2.405;//dominant mode value[TM01]

//CALCULATION
a=D/2;//radius in cm
f0=((c/(2*(%pi)))*sqrt((Pnm/a)^2+((p*(%pi))/l)^2))/10^9;//The resonant frequency of a circular resonator in GHz

//OUTPUT
mprintf('\nThe resonant frequency of a circular resonator is f0=%1.2f GHz',f0);

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