diff options
author | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
commit | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch) | |
tree | 449d555969bfd7befe906877abab098c6e63a0e8 /3871/CH16/EX16.4 | |
parent | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff) | |
download | Scilab-TBC-Uploads-master.tar.gz Scilab-TBC-Uploads-master.tar.bz2 Scilab-TBC-Uploads-master.zip |
Diffstat (limited to '3871/CH16/EX16.4')
-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));
+
|