blob: d686e317dfbd391c5419c0ddd406e9d667599954 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//Chapter-6 example 4
//=============================================================================
clc;
clear;
//input data
Va = 900 ;//Accelarating voltage in volts
F = 3.2*10^9;//operating frequency
d = 10^-3;
//Calculations
Ve = (0.593*10^6)*sqrt(Va);//electron velocity
w = 2*%pi*F;
theta = w*(d/Ve);//transit angle in radians
Be = sin(theta/2)/(theta/2);//Beam Coupling Co-efficient
//output
mprintf('Electron Velocity is %g m/s\n Transit Angle is %g rad\n Beam Coupling Co-efficient is %3.3f ',Ve,theta,Be);
//=============end of the program===============================================
|