//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)