diff options
Diffstat (limited to '3871/CH16/EX16.4/Ex16_4.sce')
-rw-r--r-- | 3871/CH16/EX16.4/Ex16_4.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/3871/CH16/EX16.4/Ex16_4.sce b/3871/CH16/EX16.4/Ex16_4.sce new file mode 100644 index 000000000..8d4988f81 --- /dev/null +++ b/3871/CH16/EX16.4/Ex16_4.sce @@ -0,0 +1,23 @@ +//=====================================================================================
+//Chapter 16 example 4
+
+clc;clear all;
+
+//variable declaration
+Va = 2000; //accelerating voltage in V
+e = 1.6*10^-19; //charge of electron in C
+m = 9.1*10^-31; //mass of electron in kg
+l = 0.015; //length of plates in m
+d = 0.005; //distance between plates in m
+S = 0.5; //the distance between the screen and centre of plates in m
+
+//calcuations
+V = sqrt(2*Va*(e/m)); //beam speed in m/s
+Sd = (l*S)/(2*d*Va); //deflection sensitivity of the tube in mm/V
+D = 1/(Sd); //defelection factor in V/mm
+
+//result
+mprintf("Beam speed = %3.3e m/s",V);
+mprintf("\ndeflection sensitivity of the tube %3.3f mm/V",(Sd*10^3));
+mprintf("\ndefelcction factor = %3.4f V/mm",(D*10^-3));
+
|