summaryrefslogtreecommitdiff
path: root/2411/CH5/EX5.8/Ex5_8.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2411/CH5/EX5.8/Ex5_8.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 '2411/CH5/EX5.8/Ex5_8.sce')
-rwxr-xr-x2411/CH5/EX5.8/Ex5_8.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/2411/CH5/EX5.8/Ex5_8.sce b/2411/CH5/EX5.8/Ex5_8.sce
new file mode 100755
index 000000000..127c6f36f
--- /dev/null
+++ b/2411/CH5/EX5.8/Ex5_8.sce
@@ -0,0 +1,10 @@
+// Scilab Code Ex5.8: Page-287 (2008)
+clc; clear;
+h = 6.62e-027; // Planck's constant, erg-s
+c = 3e+010; // Speed of light, cm/s
+phi = 3.31e-012; // Work function for material, erg
+lambda0 = h*c/phi; // Wavelength of incident radiation, cm
+printf("\nThe maximum wavelength of radiation which would start the emission of photoelectrons = %d angstrom", lambda0/1e-008);
+
+// Result
+// The maximum wavelength of radiation which would start the emission of photoelectrons = 6000 angstrom \ No newline at end of file