summaryrefslogtreecommitdiff
path: root/3689/CH19/EX19.6/19_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3689/CH19/EX19.6/19_6.sce')
-rw-r--r--3689/CH19/EX19.6/19_6.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3689/CH19/EX19.6/19_6.sce b/3689/CH19/EX19.6/19_6.sce
new file mode 100644
index 000000000..0378b51d2
--- /dev/null
+++ b/3689/CH19/EX19.6/19_6.sce
@@ -0,0 +1,23 @@
+////Variable Declarations
+mr = 2.5e-3 //Moles reacted, mol
+P = 100.0 //Irradiation Power, J/s
+t = 27 //Time of irradiation, s
+h = 6.626e-34 //Planks constant, Js
+c = 3.0e8 //Speed of light, m/s
+labda = 280e-9 //Wavelength of light, m
+
+//Calculation
+Eabs = P*t
+Eph = h*c/labda
+nph = Eabs/Eph //moles of photone
+phi = mr/6.31e-3
+
+//Results
+printf("\n Total photon energy absorbed by sample %3.1e J",Eabs)
+
+printf("\n Photon energy absorbed at 280 nm is %3.1e J",Eph)
+
+printf("\n Total number of photon absorbed by sample %3.1e photones",nph)
+
+printf("\n Overall quantum yield %4.2f",phi)
+