summaryrefslogtreecommitdiff
path: root/2219/CH5/EX5.7/Ex5_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '2219/CH5/EX5.7/Ex5_7.sce')
-rwxr-xr-x2219/CH5/EX5.7/Ex5_7.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/2219/CH5/EX5.7/Ex5_7.sce b/2219/CH5/EX5.7/Ex5_7.sce
new file mode 100755
index 000000000..5269ad41e
--- /dev/null
+++ b/2219/CH5/EX5.7/Ex5_7.sce
@@ -0,0 +1,24 @@
+//chapter 5 example 7
+//=============================================================================
+clc;
+clear;
+//Given Data
+Va = 1200;//Anode potential
+F = 10*10^9;//Operating frequency in Hz
+S = 5*10^-2;//spacing b/w 2 cavities
+GS = 1*10^-3;//gap spacing in either cavity
+e = 1.6*10^-19;//charge of electron
+m = 9.1*10^-31;//mass of electron in kg
+//Calculations
+//Condition of maximum output is (V1/Vo)max = (3.68)/((2*pi*n)-(pi/2);
+//(2*pi*n)-(pi/2) = Transit angle b/w two cavities
+//V1 = Peak amplitude of RF i/p
+//Vo = accelarating potential
+
+Vo = sqrt(2*e*Va/m);//velocity of the electrons
+T = S/Vo;//Transit time b/w the cavities
+TA = 2*%pi*F*T;//transit angle in radians
+V1 = (3.68*Va)/TA;
+//Output
+mprintf('Required Peak Amplitude of i/p RF signal is %3.2f volts',V1);
+//=============================================================================