diff options
Diffstat (limited to '728/CH5/EX5.2/Ex5_2.txt')
-rwxr-xr-x | 728/CH5/EX5.2/Ex5_2.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/728/CH5/EX5.2/Ex5_2.txt b/728/CH5/EX5.2/Ex5_2.txt new file mode 100755 index 000000000..47048b00b --- /dev/null +++ b/728/CH5/EX5.2/Ex5_2.txt @@ -0,0 +1,16 @@ +//Caption:Calculate the lowest frequency of a rectangular cavity resonator
+//Exa:5.2
+clc;
+clear;
+close;
+//Given:
+c=3*10^10;//in cm/s
+a=2;//in cm
+b=1;//in cm
+d=3; //in cm
+disp('Dominant mode is TE101');
+m=1;
+n=0;
+p=1;
+f=(c/2)*[(m/a)^2+(n/b)^2+(p/d)^2]^0.5;
+disp(f/10^9,'Lowest resonant frequency(in GHz) =');
|