summaryrefslogtreecommitdiff
path: root/767/CH5/EX5.6.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /767/CH5/EX5.6.1
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 '767/CH5/EX5.6.1')
-rwxr-xr-x767/CH5/EX5.6.1/Ch05Exa5_6_1.sci89
1 files changed, 89 insertions, 0 deletions
diff --git a/767/CH5/EX5.6.1/Ch05Exa5_6_1.sci b/767/CH5/EX5.6.1/Ch05Exa5_6_1.sci
new file mode 100755
index 000000000..001d0d63e
--- /dev/null
+++ b/767/CH5/EX5.6.1/Ch05Exa5_6_1.sci
@@ -0,0 +1,89 @@
+// Scilab code Exa5.6.1: To calculate the velocity of ejected photoelectron : P.no. 230 (2011)
+ C = 3e+08; // Speed of light, m/s
+ h = 6.626e-034; // Planck's constant, Js
+ lambda = 2500e-010; // wavelength of light, m
+e = 1.602e-019; // Charge of electron, C
+ w = 1.9; // Work function, J
+m = 9.1e-031; // Mass of the electron, kg
+E_c = h*C/(lambda*e); // Calculated energy, J
+E_e = E_c-w; // Energy of photoelectron, J
+v = sqrt((2*E_e*e)/m); // Velocity of photoelectron, m/s
+printf("\nThe velocity of photoelectron : %4.2e m/s ", v )
+// Result
+// The velocity of photoelectron : 1.04e+006 m/s
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+