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 /1847/CH8/EX8.5 | |
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 '1847/CH8/EX8.5')
-rwxr-xr-x | 1847/CH8/EX8.5/Ch08Ex5.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1847/CH8/EX8.5/Ch08Ex5.sce b/1847/CH8/EX8.5/Ch08Ex5.sce new file mode 100755 index 000000000..106783d89 --- /dev/null +++ b/1847/CH8/EX8.5/Ch08Ex5.sce @@ -0,0 +1,13 @@ +// Scilab Code Ex8.5:: Page-8.9 (2009)
+clc; clear;
+lambda = 7000; // Wavelength of the emitted light, angstrom
+k = 8.6e-005; // Boltzmann constant, eV/K
+dE = 12400/lambda; // Energy difference of the levels, eV
+T = 27+273; // Temperatures of the state, K
+N2_ratio_N1 = exp(-(dE/(k*T))); // Relative population
+printf("\nThe relative population of two states in He-Ne laser at %d K = %3.1e", T, N2_ratio_N1);
+
+
+// Result
+// The relative population of two states in He-Ne laser at 300 K = 1.5e-30
+// The answer is given wrong in the textbook
\ No newline at end of file |