summaryrefslogtreecommitdiff
path: root/1004/CH2/EX2.7
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1004/CH2/EX2.7
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1004/CH2/EX2.7')
-rwxr-xr-x1004/CH2/EX2.7/Ch02Ex7.sci10
1 files changed, 10 insertions, 0 deletions
diff --git a/1004/CH2/EX2.7/Ch02Ex7.sci b/1004/CH2/EX2.7/Ch02Ex7.sci
new file mode 100755
index 000000000..bcc9aaa34
--- /dev/null
+++ b/1004/CH2/EX2.7/Ch02Ex7.sci
@@ -0,0 +1,10 @@
+// Scilab Code Ex2.7 Maximum energy of ejected electrons: Pg:47 (2008)
+h = 6.6e-034; // Planck's constant, Js
+c = 3e+08; // Speed of light, m/s
+L = 2537e-010; // Wavelength of incident light, m
+L0 = 3250e-010; // Threshold wavelength of silver, m
+// As U = h*(f - f0), the kinetic energy of ejected electrons
+U = h*c*(1/L - 1/L0); // Maximum energy of ejected electrons, J
+printf("\nThe maximum energy of ejected electrons = %5.3e J", U);
+// Result
+// The maximum energy of ejected electrons = 1.712e-019 J \ No newline at end of file