From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3689/CH15/EX15.3/15_3.sce | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 3689/CH15/EX15.3/15_3.sce (limited to '3689/CH15/EX15.3') diff --git a/3689/CH15/EX15.3/15_3.sce b/3689/CH15/EX15.3/15_3.sce new file mode 100644 index 000000000..f68112e12 --- /dev/null +++ b/3689/CH15/EX15.3/15_3.sce @@ -0,0 +1,24 @@ +//// +//Variable Declaration +g0 = 3.0 +labda = 1263e-9 //Wave length in nm +T = 500. //Temperature, K +c = 3.00e8 //Speed of light, m/s +NA = 6.022e23 //Avagadro's Number, 1/mol +k = 1.38e-23 //Boltzmann constant, J/K +n = 1.0 //Number of moles, mol +h = 6.626e-34 //Planks's Constant, J.s + +//Calcualtions +beta = 1/(k*T) +eps = h*c/labda +qE = g0 + exp(-beta*eps) +UE = n*NA*eps*exp(-beta*eps)/qE + +//Results +printf("\n Energy of excited state is %4.2e J",eps) + +printf("\n Electronic partition function qE is %4.3e",qE) + +printf("\n Electronic contribution to internal enrgy is %4.3e J",UE) + -- cgit