summaryrefslogtreecommitdiff
path: root/3369/CH3/EX3.10/Ex3_10.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3369/CH3/EX3.10/Ex3_10.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 '3369/CH3/EX3.10/Ex3_10.sce')
-rwxr-xr-x3369/CH3/EX3.10/Ex3_10.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3369/CH3/EX3.10/Ex3_10.sce b/3369/CH3/EX3.10/Ex3_10.sce
new file mode 100755
index 000000000..96fbf7aca
--- /dev/null
+++ b/3369/CH3/EX3.10/Ex3_10.sce
@@ -0,0 +1,16 @@
+//Chapter 3, Exmaple 10, page 106
+//KE and velocity of photoelectron
+clc
+clear
+h = 4.15*10**-15
+c = 3*10**8
+l = 200*10**-10
+BE = 13.6 // Binding energy
+PE = h*c/l
+KE = PE-BE // Kinetic energy of photoelectron
+Ve = sqrt((2*KE*1.6*10**-19)/9.11*10**-31)*10**31
+printf("\nPhoton energy eV = %e ",PE)
+printf("\nKinetic energy eV = %e ",KE)
+printf("\nVelocity m/s = %e ",Ve)
+
+//Answer may vary due to round off error