summaryrefslogtreecommitdiff
path: root/2411/CH5/EX5.6/Ex5_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '2411/CH5/EX5.6/Ex5_6.sce')
-rwxr-xr-x2411/CH5/EX5.6/Ex5_6.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2411/CH5/EX5.6/Ex5_6.sce b/2411/CH5/EX5.6/Ex5_6.sce
new file mode 100755
index 000000000..6270b6b4b
--- /dev/null
+++ b/2411/CH5/EX5.6/Ex5_6.sce
@@ -0,0 +1,15 @@
+// Scilab Code Ex5.6: Page-286 (2008)
+clc; clear;
+h = 6.62e-034; // Planck's constant, Js
+c = 3e+008; // Speed of light, m/s
+e = 1.6e-019; // Energy quivalent of 1 eV, J
+phi = 2.28*e; // Work function for material, J
+m = 9.1e-031; // Mass of an electron, kg
+lambda = 3000e-010; // Wavelength of incident radiation, m
+E = h*c/lambda; // Energy of the incidnt radiation, J
+KE = E - phi; // Kinetic energy of the ejected photoelectrons, J
+v = sqrt(2*KE/m); // Velocity of emitted electron, m/s
+printf("\nThe velocity of the emitted electron = %4.2e m/s", v);
+
+// Result
+// The velocity of the emitted electron = 8.08e+005 m/s \ No newline at end of file