summaryrefslogtreecommitdiff
path: root/1019/CH2/EX2.19/Example_2_19.sce
blob: 33ef78828ca67ac83c065bfeeaa675827db128fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//Example 2.19
clear;
clc;

//Given
T1=273; //initial temperature in K
T2=1073; //final temperature in K
w=1;//weight of aluminium taken in kg
mp=931;//melting point of aluminium in K
delHm=362.3;//enthalpy change during melting process in kJ kg^-1

// To determine delH
delH1=(0.9121*(mp-T1))+(2.0083*0.00005*((mp+T1)*(mp-T1)))-(2.0083*0.0001*273*(mp-T1));//enthalpy change in 1st step in kJ
delHf=delHm*w;//enthalpy change during melting in kJ
delH3=1.0836*(T2-mp);//enthalpy change in last step in kJ
delH=delH1+delHf+delH3;
mprintf('delH = %f kJ ',delH);
//end