blob: 3dcaea38fef95500021d25a0334df208e466278c (
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
// Scilab code Exa5.6.3: To calculate the wavelength of light whose kinetic energy is given : P. No. 232 (2011)
C = 3e+08; // Speed of light, m/s
h = 6.626e-034; // Planck's constant, Js
T_lambda = 190e-09; // Threhold wavelength of light, m
e = 1.6e-019; // Charge of the electron, C
E_max = 1.1; // Maximum kinetic energy of photoelectron, eV
w = h*C/(T_lambda*e); // Work function, eV
E_t = E_max+w; // threshold energy, eV
lambda = h*C/(E_t*e); // Wavelength of light used, m
printf("\nThe wavelength of light used : %5.3e m", lambda)
// Result
// The wavelength of light used : 1.626e-007 m
|