summaryrefslogtreecommitdiff
path: root/3547/CH3/EX3.1
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3547/CH3/EX3.1
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3547/CH3/EX3.1')
-rw-r--r--3547/CH3/EX3.1/3_1.jpgbin0 -> 59356 bytes
-rw-r--r--3547/CH3/EX3.1/Ex3_1.sce24
2 files changed, 24 insertions, 0 deletions
diff --git a/3547/CH3/EX3.1/3_1.jpg b/3547/CH3/EX3.1/3_1.jpg
new file mode 100644
index 000000000..704c56d78
--- /dev/null
+++ b/3547/CH3/EX3.1/3_1.jpg
Binary files differ
diff --git a/3547/CH3/EX3.1/Ex3_1.sce b/3547/CH3/EX3.1/Ex3_1.sce
new file mode 100644
index 000000000..d6a44a056
--- /dev/null
+++ b/3547/CH3/EX3.1/Ex3_1.sce
@@ -0,0 +1,24 @@
+// Example No. 3.1
+// To calculate the Einstein A and B coefficients
+// Page no.99
+
+clc;
+clear;
+
+// Given data
+tsp=2*10^-9; // Spontaneous lifetime associated with 2 → 1 transition in seconds
+
+deltaE=2.4*10^(-19); // The energy difference between the levels
+h=1.054*10^(-34); // The distance between two levels
+omega=deltaE/h; // Frequency in rad/sec
+v=1.25*10^8; // The velocity of light in the medium in m/s
+
+// The Einstein A and B coefficients
+A=(1/tsp)*10^-8; // Einstein coefficient A
+B=(((1/tsp)*%pi^2*v^3)/(h*omega^3))*10^-21; // Einstein coefficient B
+
+// Displaying the result in command window
+printf('\n Einstein coefficient A = %0.0f X 10^8 s^(-1)',A);
+printf('\n Einstein coefficient B = %0.2f X 10^21 m^3/J.s^2',B);
+
+// The answers are varrying due to round off error