summaryrefslogtreecommitdiff
path: root/1271/CH14/EX14.11
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1271/CH14/EX14.11
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 '1271/CH14/EX14.11')
-rwxr-xr-x1271/CH14/EX14.11/11.txt6
-rwxr-xr-x1271/CH14/EX14.11/example14_11.sce15
2 files changed, 21 insertions, 0 deletions
diff --git a/1271/CH14/EX14.11/11.txt b/1271/CH14/EX14.11/11.txt
new file mode 100755
index 000000000..6b62fc089
--- /dev/null
+++ b/1271/CH14/EX14.11/11.txt
@@ -0,0 +1,6 @@
+ # PROBLEM 11 #
+Standard formula used
+ E = h*c/lambda
+
+ Work function for wavelength 6.200000e-07 angstrom is 2.002016 eV.
+ Work function for wavelength 5.000000e-07 angstrom is 2.482500 eV
diff --git a/1271/CH14/EX14.11/example14_11.sce b/1271/CH14/EX14.11/example14_11.sce
new file mode 100755
index 000000000..29c815c61
--- /dev/null
+++ b/1271/CH14/EX14.11/example14_11.sce
@@ -0,0 +1,15 @@
+clc
+// Given that
+lambda = 6.2e-7 // threshold wavelength of photoelectron in first case in meter
+lambda_ = 5e-7 // threshold wavelength of photoelectron in second case in meter
+h = 6.62e-34 // Planck constant in J-sec
+c = 3e8 // speed of light in m/sec
+e = 1.6e-19 // charge on an electron in C
+// Sample Problem 11 on page no. 14.23
+printf("\n # PROBLEM 11 # \n")
+printf("Standard formula used \n ")
+printf(" E = h*c/lambda \n")
+w = ((h * c) / lambda) * (1 / e)
+w_ = ((h * c) / lambda_) * (1 / e)
+printf("\n Work function for wavelength %e angstrom is %f eV.\n Work function for wavelength %e angstrom is %f eV",lambda,w,lambda_,w_)
+