summaryrefslogtreecommitdiff
path: root/3856/CH4/EX4.3/Ex4_3.sce
blob: e98e95874f1944b2953d2186cf4ec5f8f1e411f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

//Calculate the value of change in Internal energy and change in Enthalpy for the combution of Benzoic acid 

//Example 4.3

clc;

clear;

C=5267.8;  //Effective heat capcity of bomb calorimeter plus water im J K^-1

T1=293.32;  //Initial temperature in K

T2=295.37;  //Final temperature in K

delT=T2-T1;  //Change in teperature in K

M=122.12;  //Molar mass of Benzoic acid in g mol^-1

m=0.4089;  //Mass of sample of Benzoic acid in g

delU=-(C*delT*M)/(m*1000);  //Change in Enternal enegy in kJ mol^-1

printf("Change in Internal energy = %.0f kJ mol^-1",delU);//(The answer vary due to round off error)

R=8.314;  //Gas constant in J K^-1 mol^-1

T=T1; //Temperature in K

n1=7.5;  //Number of moles of gas for reactants

n2=7;  //Number of mole of gas for product

deln=n2-n1;  //Change of moles gas for reaction

delH=delU+((R*T*deln)/1000); //Change in Enthalpy in kJ mol^-1

printf("\nChange in Enthalpy = %.0f kJ mol^-1",delH);