blob: e3eb0ae54e48b720ef9ae48cd127a1e64b0bd494 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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);
|