summaryrefslogtreecommitdiff
path: root/1004/CH2/EX2.3
diff options
context:
space:
mode:
Diffstat (limited to '1004/CH2/EX2.3')
-rwxr-xr-x1004/CH2/EX2.3/Ch02Ex3.sci10
1 files changed, 10 insertions, 0 deletions
diff --git a/1004/CH2/EX2.3/Ch02Ex3.sci b/1004/CH2/EX2.3/Ch02Ex3.sci
new file mode 100755
index 000000000..2b50c1581
--- /dev/null
+++ b/1004/CH2/EX2.3/Ch02Ex3.sci
@@ -0,0 +1,10 @@
+// Scilab Code Ex2.3 Energy of photoelectrons: Pg:45 (2008)
+h = 6.6e-034; // Planck's constant, Js
+c = 3e+08; // Speed of light, m/s
+e = 1.6e-019; // Energy equivalent of 1 joule, joule/eV
+L = 1800e-010; // Wavelength of incident light, m
+L0 = 2300e-010; // Threshold wavelength of tungsten, m
+E = h*c*(1/L - 1/L0); // Energy of photoelectrons emitted from tungsten, joule
+printf("\nThe energy of photoelectrons emitted from tungsten = %3.1f eV", E/e);
+// Result
+// The energy of photoelectrons emitted from tungsten = 1.5 eV \ No newline at end of file