summaryrefslogtreecommitdiff
path: root/1019/CH2/EX2.19/Example_2_19.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1019/CH2/EX2.19/Example_2_19.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '1019/CH2/EX2.19/Example_2_19.sce')
-rw-r--r--1019/CH2/EX2.19/Example_2_19.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1019/CH2/EX2.19/Example_2_19.sce b/1019/CH2/EX2.19/Example_2_19.sce
new file mode 100644
index 000000000..33ef78828
--- /dev/null
+++ b/1019/CH2/EX2.19/Example_2_19.sce
@@ -0,0 +1,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 \ No newline at end of file