diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1004/CH6/EX6.3 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1004/CH6/EX6.3')
-rwxr-xr-x | 1004/CH6/EX6.3/Ch06Ex3.sci | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/1004/CH6/EX6.3/Ch06Ex3.sci b/1004/CH6/EX6.3/Ch06Ex3.sci new file mode 100755 index 000000000..bc4ad5004 --- /dev/null +++ b/1004/CH6/EX6.3/Ch06Ex3.sci @@ -0,0 +1,11 @@ +// Scilab code: Ex6.3 : Short wavelength limit : Pg: 156 (2008)
+V = 50000; // Potential difference, volts
+h = 6.624e-034; // Planck's constant, Js
+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 L
+L = h*c/(e*V); // Short wavelength limit of X-ray, m
+printf("\nShort wavelength limit of X-ray = %6.4f angstorm", L/1e-010);
+// Result
+// Short wavelength limit of X-ray = 0.2484 angstorm
\ No newline at end of file |