summaryrefslogtreecommitdiff
path: root/1016/CH5/EX5.17
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1016/CH5/EX5.17
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 '1016/CH5/EX5.17')
-rwxr-xr-x1016/CH5/EX5.17/ex5_17.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1016/CH5/EX5.17/ex5_17.sce b/1016/CH5/EX5.17/ex5_17.sce
new file mode 100755
index 000000000..98f0f145b
--- /dev/null
+++ b/1016/CH5/EX5.17/ex5_17.sce
@@ -0,0 +1,18 @@
+clc;clear;
+//Example 5.17
+
+//given values
+W=2000;//wavelength in Angstrom
+Vs=4.2;//Work Function in eV
+e=1.6*10^-19;//the charge on electron in C
+
+//calculations
+E=12400/W;
+Emax=(E-Vs)*e;
+disp(Emax,'KE of fastest photoelectron in J');
+Emin=0;
+disp(Emin,'KE of slowest moving electron in J');
+Vo=Emax/e;
+disp(Vo,'Stopping potential in V');
+Wo=12400/Vs;
+disp(Wo,'The cutoff wavelength in Angstrom') \ No newline at end of file