summaryrefslogtreecommitdiff
path: root/1004/CH6/EX6.2
diff options
context:
space:
mode:
Diffstat (limited to '1004/CH6/EX6.2')
-rwxr-xr-x1004/CH6/EX6.2/Ch06Ex2.sci11
1 files changed, 11 insertions, 0 deletions
diff --git a/1004/CH6/EX6.2/Ch06Ex2.sci b/1004/CH6/EX6.2/Ch06Ex2.sci
new file mode 100755
index 000000000..e7e5e9415
--- /dev/null
+++ b/1004/CH6/EX6.2/Ch06Ex2.sci
@@ -0,0 +1,11 @@
+// Scilab code: Ex6.2 : Planck's constant: Pg: 156 (2008)
+L = 24.7e-012; // Wavelength of X-rays, m
+V = 50000; // Potential difference, volts
+c = 3e+08; // Velocity of light, m/s
+e = 1.6e-019; // Charge of an electron, coulombs
+// Since e*V = h*c/L; // Energy required by an electron to move through a potential barrier of one volt, joules
+// solving for h
+h = e*V*L/c; // Planck's constant, Joule second
+printf("\nh = %3.1e Js ", h);
+// Result
+// h = 6.6e-034 Js \ No newline at end of file