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/CH2/EX2.30/Ch02Ex30.sci | |
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/CH2/EX2.30/Ch02Ex30.sci')
-rwxr-xr-x | 1004/CH2/EX2.30/Ch02Ex30.sci | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/1004/CH2/EX2.30/Ch02Ex30.sci b/1004/CH2/EX2.30/Ch02Ex30.sci new file mode 100755 index 000000000..b833c9eb7 --- /dev/null +++ b/1004/CH2/EX2.30/Ch02Ex30.sci @@ -0,0 +1,9 @@ +// Scilab Code Ex2.30 Excitation potential for mercury: Pg:65 (2008)
+e = 1.6e-019; // Energy equivalent of 1 eV, joule/eV
+h = 6.624e-034; // Planck's constant, Js
+c = 3e+08; // Speed of light, m/s
+L = 2537e-010; // Wavelength of absorbed line of Hg, m
+V = h*c/(e*L); // Excitation potential for Hg, v
+printf("\nThe excitation potential for Hg = %3.1f V", V);
+// Result
+// The excitation potential for Hg = 4.9 V
\ No newline at end of file |