summaryrefslogtreecommitdiff
path: root/2465/CH4/EX4.3/Ex4_3.sce
blob: d3037835a15abfd03df968250fa7b01e5dde2fe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Chapter-4,Example 3,Page 93
clc;
close;

n=1     // number of mol

R= 8.314     // gas constant

T = 273 + 27   // temperature in  Kelvin

w=n*R*T/1000    // work done in kiloJoule

printf('work done by reaction ai 27 degree is %.4f kJ',w)