summaryrefslogtreecommitdiff
path: root/2705/CH1/EX1.6
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2705/CH1/EX1.6
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2705/CH1/EX1.6')
-rwxr-xr-x2705/CH1/EX1.6/Ex1_6.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/2705/CH1/EX1.6/Ex1_6.sce b/2705/CH1/EX1.6/Ex1_6.sce
new file mode 100755
index 000000000..fe3ceb552
--- /dev/null
+++ b/2705/CH1/EX1.6/Ex1_6.sce
@@ -0,0 +1,28 @@
+clear;
+clc;
+disp('Example 1.6');
+
+
+// Given values
+m_cop = 2; // mass of copper vessel, [kg]
+m_wat = 6; // mass of water, [kg]
+c_wat = 4.19; // specific heat capacity of water, [kJ/kg K]
+
+t1 = 20; // initial temperature, [C]
+t2 = 90; // final temperature, [C]
+
+// From the table of average specific heat capacities
+c_cop = .390; // specific heat capacity of copper,[kJ/kg k]
+
+// solution
+Q_cop = m_cop*c_cop*(t2-t1); // heat required by copper vessel, [kJ]
+
+Q_wat = m_wat*c_wat*(t2-t1); // heat required by water, [kJ]
+
+// since there is no heat loss,so total heat transfer is sum of both
+Q_total = Q_cop+Q_wat ; // [kJ]
+
+mprintf(' \n Required heat transfer to accomplish the change = %f kJ\n',Q_total);
+
+//End
+