summaryrefslogtreecommitdiff
path: root/1019/CH3/EX3.1/Example_3_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1019/CH3/EX3.1/Example_3_1.sce')
-rw-r--r--1019/CH3/EX3.1/Example_3_1.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1019/CH3/EX3.1/Example_3_1.sce b/1019/CH3/EX3.1/Example_3_1.sce
new file mode 100644
index 000000000..f34af9008
--- /dev/null
+++ b/1019/CH3/EX3.1/Example_3_1.sce
@@ -0,0 +1,14 @@
+//Example 3.1
+clear;
+clc;
+
+//Given
+delE = -97030;//change in internal energy in Joule
+R = 8.314;//R is gas constant in J K^-1 mol^-1
+T = 298;//T is temperature in K
+
+//To determine the heat of reaction
+delv= 1-(1+(1/2));//change in moles
+delH = delE + (delv*R*T);//H is the heat of the reaction in Joule (1st law of thermodynamics)
+mprintf('Heat of the reaction= %f J',delH);
+//end \ No newline at end of file