blob: 59a7c22734bb81114954e4ff418745b434db0098 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
//Example 8.4
clear;
clc;
//Given
v=2;
p=1;//pressure in atm
V=1;//volume in L
R=0.082;// gas constant in L atm K^-1 mol^-1
T=298.15;// temperature in K
w=3.176;// weight of N2O4 taken in g
// To determine degree of dissociation a
m1=(2*14)+(4*16);//molecular mass of N2O4 in g mol^-1
m2=(w*R*T)/(p*V);//in g mol^-1
a=(m1-m2)/m2((v-1));//degree of dissociation
mprintf('Degree of dissociation = %f ',a);
//end
|