blob: 258b03cd22257e7b27d40456cd7962ba97a88f8a (
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
25
26
|
//chapter 5 example 3
//=============================================================================
clc;
clear;
//Given Data
//let l = dVr/Vr ; f = df/f ; Vr/f = R
l = 5;//percentage change in repeller voltage
f = 1;//percentage change in operating frequency
R = 1;//ratio of repeller voltage to operating frequency
NR = 1.5;//new ratio of repeller voltage to operating frequency in volts/MHz
e = 1.6*10^-19;//charge of electron
m = 9.1*10^-31;//mass of electron in kg
//Calculations
//dVr/df = ((2*pi*s)/((2*pi*n)-pi/2))*sqrt(8*m*Va/e));
//((df/f)/(dVr/Vr)) = (Vr/f)*((2*pi*n)-pi/2)/(2*pi*s)*sqrt(e/(8*m*Va));
//((df/f)/(dVr/Vr)) = K*(Vr/f);
//where K = (((2*pi*n)-pi/2)/(2*pi*s))*sqrt(e/(8*m*Va))
K = (f/l)*(1/R)
PCF = NR*K*l//percentage change in frequency when new ratio (Vr/f)=1.5
//Output
mprintf('Percentage Change in frequency is %3.2f percent',PCF);
//=============================================================================
|