summaryrefslogtreecommitdiff
path: root/2795/CH3/EX3.11/Ex3_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '2795/CH3/EX3.11/Ex3_11.sce')
-rwxr-xr-x2795/CH3/EX3.11/Ex3_11.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2795/CH3/EX3.11/Ex3_11.sce b/2795/CH3/EX3.11/Ex3_11.sce
new file mode 100755
index 000000000..87f01dc01
--- /dev/null
+++ b/2795/CH3/EX3.11/Ex3_11.sce
@@ -0,0 +1,15 @@
+// Scilab Code Ex3.11: Page-109 (2013)
+clc; clear
+phi = 2.93; // Work function of lithium, eV
+lambda = 400e-009; // Wavelength of incident light, m
+e = 1.6e-019; // Energy equivalent of 1 eV, J
+c = 2.998e+008; // Speed of light in vacuum, m/s
+h = 6.626e-034; // Planck's constant, Js
+E = h*c/(lambda*e); // Energy of incident light, eV
+V0 = E - phi; // Stopping potential, V
+printf("\nThe energy of incident photons = %4.2f eV", E);
+printf("\nThe stopping potential = %4.2f V", V0);
+
+// Result
+// The energy of incident photons = 3.10 eV
+// The stopping potential = 0.17 V \ No newline at end of file