blob: c45157cb46d8f604c43394f48f3daa5bac97dce3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clc
//initialisation of variables
clear
R= 1.986 //cal deg^-1 mole^-1
cv1= 0.392 //cal deg^-1 mole^-1
cv2= 0.004 //cal deg^-1 mole^-1
cv3= 0.003 //cal deg^-1 mole^-1
cv4= 1.265 //cal deg^-1 mole^-1
cv5= 0.247 //cal deg^-1 mole^-1
cv6= 0.225 //cal deg^-1 mole^-1
//CALCULATIONS
Cv = 3*R+cv1+cv2+cv3
Cv1= 3*R+cv4+cv5+cv6
//RESULTS
printf ('Total heat capacity = %.2f cal deg^-1 mole^-1',Cv)
printf ('\n Total heat capacity = %.2f cal deg^-1 mole^-1',Cv1)
|