summaryrefslogtreecommitdiff
path: root/1997/CH6/EX6.3/example3.sce
blob: b439fdfc12e87af7239a32c5b00e5710b5a680b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//Chapter-6 example 3
//=============================================================================
clc;
clear;
//input data
e   = 1.609*10^-19;//charge of electron
me  = 9.109*10^-31;//mass of electron in kg
B   = 0.40;//magnetic flux density
b   = 10*10^-2;//Radius of vane edge from the centre
a   = 4*10^-2;//radius of cathode

//Calculations
Wc  = (e/me)*B;//cyclotron angular frequency in radians
Vc  = (e/(8*me))*(B^2)*(b^2)*(1-(a/b)^2)^2;//cut-off voltage
//Output
mprintf('Cyclotron Angular Frequency is %g rad\n Cut-off voltage is %g V\n',Wc,Vc);
mprintf(' Note:Cut-off voltage obtained in textbook is wrongly calculated.Instead of (a/b)^2 ,(a/b) is calculated');

//=============end of the program==============================================