summaryrefslogtreecommitdiff
path: root/3871/CH16/EX16.6
diff options
context:
space:
mode:
Diffstat (limited to '3871/CH16/EX16.6')
-rw-r--r--3871/CH16/EX16.6/Ex16_6.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3871/CH16/EX16.6/Ex16_6.sce b/3871/CH16/EX16.6/Ex16_6.sce
new file mode 100644
index 000000000..e3eb0ae54
--- /dev/null
+++ b/3871/CH16/EX16.6/Ex16_6.sce
@@ -0,0 +1,19 @@
+//=====================================================================================
+//Chapter 16 example 6
+
+clc;clear all;
+
+//varable declaration
+l = 2.5; //length of plates in cm
+d = 1; //distance between plates in cm
+theta = 1; //angular defelecction of electron beam in degrees
+Va = 1000; //accelerating voltage in V
+
+//calculations
+//tan(theta) = l*Vd/(2*d*Va)
+x = tan(((theta*%pi)/180));
+Vd =(( 2*d*Va)/(l))*x; //required voltage in V
+
+//result
+mprintf("Voltage required across the deflection plates = %3.2f V",Vd);
+