summaryrefslogtreecommitdiff
path: root/623/CH2/EX2.1.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /623/CH2/EX2.1.5
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 '623/CH2/EX2.1.5')
-rwxr-xr-x623/CH2/EX2.1.5/U2_C1_5.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/623/CH2/EX2.1.5/U2_C1_5.sce b/623/CH2/EX2.1.5/U2_C1_5.sce
new file mode 100755
index 000000000..27ded610a
--- /dev/null
+++ b/623/CH2/EX2.1.5/U2_C1_5.sce
@@ -0,0 +1,22 @@
+//variable initialization
+h=(6.625*10^-34)/(2*%pi); //Planck's constant (joule-second)
+c=3*10^8; //speed of light (meter/second)
+lembda=2000; //Wavelength of the light (Å)
+phi=4.2 //work function of aluminium surface (eV)
+ch=12400 //constant (eV Å)
+
+//(a) maximum kinetic energy of photoelectrons
+Tmax=(ch/lembda)-phi; //maximum kinetic energy of photoelectrons (eV)
+
+//(b) minimum kinetic energy of photoelectrons
+Tmin=0
+
+//(c) cut-off wavelength
+lembda_cut=ch/phi; // cut-off wavelength (Å)
+
+//(d) stopping potential
+v=2 //stopping potential (volt)
+
+printf("\n(a) Maximum kinetic energy of photoelectrons = %.0f eV\n(b) Minimum kinetic energy of photoelectrons = %.0f\n(c) Cut-off wavelength = %.0f Å\n(d) Stopping potential = %.0f volt",Tmax,Tmin,lembda_cut,v);
+
+//Note: In book answer of cut_off wavelength is wrong