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/CH6/EX6.8/6_8.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 3689/CH6/EX6.8/6_8.sce (limited to '3689/CH6/EX6.8') diff --git a/3689/CH6/EX6.8/6_8.sce b/3689/CH6/EX6.8/6_8.sce new file mode 100644 index 000000000..77e2ffe75 --- /dev/null +++ b/3689/CH6/EX6.8/6_8.sce @@ -0,0 +1,16 @@ +//// +//Variable Declaration +dGfNO2 = 51.3 //Std. Gibbs energy of formation for NO2 (g), kJ/mol +dGfN2O4 = 99.8 //Std. Gibbs energy of formation for N2O4 (g), kJ/mol +T0 = 298.15 //Temperature in K +pNO2 = 0.350 //Partial pressure of NO2, bar +pN2O4 = 0.650 //Partial pressure of N2O4, bar +R = 8.314 +[nNO2,nN2O4] = (-2,1) + +//Calculations +dGR = nN2O4*dGfN2O4*1e3 + nNO2*dGfNO2*1e3 + R*T0*log(pN2O4/(pNO2)**2) + +//Results +printf("\n Std. Gibbs energy change for reaction is %5.3f kJ/mol",dGR/1e3) + -- cgit