summaryrefslogtreecommitdiff
path: root/2465/CH4/EX4.1/Example_1.sce
blob: 502811c6471eb4dfabc5ee6c03df4a8496251dea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//Chapter-4,Example 1,Page 92
clc;
close;

R= 2     // gas constant

//as water temperature is 100 degree

T = 273 + 100   // temperature in  Kelvin

w=R*T    // work done

q= 536*18   //heat in cal/mol

delta_E= q-w 

printf('the amount of energy increased is %.1f cal/mol',delta_E)