summaryrefslogtreecommitdiff
path: root/3825/CH6/EX6.18/Ex6_18.sce
blob: 6267e07a468955d3ec2644fe92ca82e6b3c4b525 (plain)
1
2
3
4
5
6
7
8
9
10
11
clc
hg=2547.3 //in kJ/kg
hf=104.77 //in kJ/kg
deltaH=hg-hf
mass=18 //molar mass of water
moles=1000/mass //moles of water in kg
mprintf("DeltaH=%fkJ/kg=%fkJ/mol\n",deltaH,deltaH/moles)//ans vary due to roundoff error
deltaHst=-3274.5 //standard from Ex6_17.sce
deltaH=deltaHst+(6*(-deltaH/moles))
mprintf("deltaH298=%fkJ",deltaH)//ans vary due to roundoff error