summaryrefslogtreecommitdiff
path: root/1026/CH10/EX10.13/Example10_13.sce
blob: 912e85bac5fc1ba66e1cf361ef8b8152443c383b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//chapter10,Example10_13,pg 276

e=1.6*10^-19

Va=150

m=9.1*10^-31

vx=sqrt((2*e*Va)/m)

V=20

d=10^-2

ay=(e/m)*(V/d)

l=10*10^-2

vy=ay*(l/vx)

theta=atan(vy/vx)

theta=theta*(180/%pi)//converting into degree

theta=theta*(%pi/180)//converting into radian

Y=D*tan(theta)

S=(Y/V)

printf("velocity of electron reaching field vx=%.2f m/sec\n",vx)

printf("\nacceleration due to electric field ay=%.2f m/sec2\n",ay)

printf("\nfinal velocity attained by deflecting field vy=%.2f m/sec\n",vy)

printf("\nangle of deflection theta=%.2f deg.\n",theta)

printf("\ndeflection on screen Y=%.2f m\n",Y)

printf("\ndeflection senstivity S=%.2f m/volt\n",S)