summaryrefslogtreecommitdiff
path: root/858/CH3/EX3.30/example_30.sce
diff options
context:
space:
mode:
Diffstat (limited to '858/CH3/EX3.30/example_30.sce')
-rwxr-xr-x858/CH3/EX3.30/example_30.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/858/CH3/EX3.30/example_30.sce b/858/CH3/EX3.30/example_30.sce
new file mode 100755
index 000000000..5ae626691
--- /dev/null
+++ b/858/CH3/EX3.30/example_30.sce
@@ -0,0 +1,21 @@
+clc
+clear
+printf("example 3.30 page number 118\n\n")
+
+//to find the heat of combustion
+
+delta_n = 10-12; //mole per mole napthanlene
+
+//basis 1g
+moles_napthalene = (1/128);
+
+disp('part 1')
+Qv = 40.28 //in kJ
+Qp = Qv-(delta_n*moles_napthalene*8.3144*298/1000);
+printf("heat of combustion = %f kJ\n\n",Qp)
+
+disp('part 2')
+delta_H = 44.05 //in kJ/gmol
+water_formed = 4/128; //in g mol
+Qp1 = Qp - (delta_H*water_formed);
+printf("heat of combustion = %f kJ",Qp1)