summaryrefslogtreecommitdiff
path: root/1427/CH18/EX18.3/18_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH18/EX18.3/18_3.sce')
-rw-r--r--1427/CH18/EX18.3/18_3.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1427/CH18/EX18.3/18_3.sce b/1427/CH18/EX18.3/18_3.sce
new file mode 100644
index 000000000..a07a4d88f
--- /dev/null
+++ b/1427/CH18/EX18.3/18_3.sce
@@ -0,0 +1,8 @@
+//ques-18.3
+//Calculating heat of a reaction
+clc
+h1=-110.5;//heat of formation of carbon monoxide (in kJ)
+h2=-393.8;//heat of formation of carbon dioxide (in kJ)
+h3=-241.8;//heat of formation of water (in kJ)
+H=h1-h2+h3;//heat of reaction (in kJ)
+printf("Heat of the given reaction is %.1f kJ.",H);