blob: cf4c48affed653966e271860418eda71da7e9db5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//Chapter 12 Thermodynamics Thermodynamic chemistry
clc;
clear;
//Initialisation of Variables
H= -771400 //cal
n= 7 //moles
n1= 7.5 //moles
T= 25 //C
R= 2 //cal mole per degree
//CALCULATIONS
E= H-(n-n1)*R*(273+T)
//RESULTS
mprintf("Difference between the heat of combustion = %.0f cal",E)
|