diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1004/CH2/EX2.11 | |
download | Scilab-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.11')
-rwxr-xr-x | 1004/CH2/EX2.11/Ch02Ex11.sci | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1004/CH2/EX2.11/Ch02Ex11.sci b/1004/CH2/EX2.11/Ch02Ex11.sci new file mode 100755 index 000000000..6f3785c82 --- /dev/null +++ b/1004/CH2/EX2.11/Ch02Ex11.sci @@ -0,0 +1,10 @@ +// Scilab Code Ex2.11 Energy of photon : Pg:49 (2008)
+h = 6.624e-034; // Planck's constant, Js
+c = 3e+08; // Speed of light, m/s
+e = 1.6e-019; // Energy equivalent of 1 eV, joule/eV
+L = 1800e-010; // Wavelength of incident light, m
+L0 = 2300e-010; // Threshold wavelength of tungsten, m
+E = h*c*(1/L - 1/L0); // Einstein's photoelectric equation for kinetic energy of emitted electrons, J
+printf("\nThe energy of electrons emitted from the surface of tungsten = %3.1f eV", E/e);
+// Result
+// The energy of electrons emitted from the surface of tungsten = 1.5 eV
\ No newline at end of file |