summaryrefslogtreecommitdiff
path: root/1286/CH8/EX8.26/8_26.sce
blob: 94ec36bf3b5e421928fe68eab458d896ae045ab4 (plain)
1
2
3
4
5
6
7
8
9
10
clc
//initialisation of variables
m=0.005//kg
c=0.17//kcal/kg/c
t1=12.4//c
t2=10.2//c
//CALCULATIONS
du=m*c*(t1-t2)*4.2*1000
//results
printf(' \n change in internal energy= % 1f J',du)