summaryrefslogtreecommitdiff
path: root/2795/CH3/EX3.11/Ex3_11.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2795/CH3/EX3.11/Ex3_11.sce
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 '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