summaryrefslogtreecommitdiff
path: root/632/CH11/EX11.8/example11_8.sce
blob: 135eb34033e050efa2fe96db40f07468d78259e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//clc()
//Fe(s) + 2HCl(aq) = FeCl2(aq) + H2(g)
MFe = 55.847;
m = 1;//kg
Nfe = m * 10^3/MFe;
Nh2 = Nfe;//(since 1 mole of Fe produces 1 mole of H2)
T = 300;//K
R = 8.314;
//the change in volume is equal to the volume occupied by hydrogen produced
PV = Nh2 * R * T;
W = PV;
disp("kJ",W,"Work done = ")