blob: 069c9e78b32a3deca8083cc82eb4f09e63240da3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//example 3.7
clear;
clc;
disp("SO2 + 0.5O2 -> SO3");
//given:
U=-97030;//heat of reaction[J]
n=1-(1+0.5);//change in no. of moles
R=8.314;//universal gas constant[J/K/mol]
T=298;//temperature during the reaction[K]
//to find the change in enthalpy of reaction(H)
H=U+n*R*T;//change in enthalpy of reaction[J]
printf("The change in enthalpy of reaction is %f J ",H);
|