summaryrefslogtreecommitdiff
path: root/2411/CH8/EX8.2/Ex8_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '2411/CH8/EX8.2/Ex8_2.sce')
-rwxr-xr-x2411/CH8/EX8.2/Ex8_2.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2411/CH8/EX8.2/Ex8_2.sce b/2411/CH8/EX8.2/Ex8_2.sce
new file mode 100755
index 000000000..39158fbd1
--- /dev/null
+++ b/2411/CH8/EX8.2/Ex8_2.sce
@@ -0,0 +1,12 @@
+// Scilab Code Ex8.2: Page-398 (2008)
+clc; clear;
+lambda = 632.8e-009; // Wavelength of the lase beam, cm
+E_2P = 15.2e-019; // Energy of 2P level, J
+h = 6.626e-034; // Planck's constant, Js
+c = 3e+008; // Speed of light, m/s
+e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
+E_Pump = E_2P + h*c/lambda; // The required pumping energy, J
+printf("\nThe pumping energy required for He Ne laser transition = %5.2f eV", E_Pump/e);
+
+// Result
+// The pumping energy required for He Ne laser transition = 11.46 eV