blob: 92e2c4be590aec8ca57df051b02c12a09d312bb0 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
// e be the charge of an electron e=-1.6*10^-19c
// q be the charge, q=n*e where n is the no. of electrons
// t is the time in seconds
//i=q/t
//i=(n*e)/t
e=-1.6*10^-19;
disp("e=")
disp(e)
// in coulombs C
disp("C")
n=10^15;
disp(n)
t=1;
disp("t=")
disp(t)
// in seconds
disp("sec")
i=(n*e)/t;
disp("i=")
disp(i)
// in amperes A
disp("A")
// i current is -0.00016A
// power in watts P=V*I
p=4;
disp("p=")
disp(p)
// in watts W
disp("W")
v=p/i;
disp("v=")
disp(v)
// in Volts V
disp("V")
// voltage needed to accelerate electron beam to 4w is 25000V
V/1000;
disp("V=")
disp(V/1000)
disp("KV")
// V is 25Kv
|