blob: 2e651d7e182c5a27f1a6503afefcd3caecc7d84f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
clear;
clc;
disp('Example 1.5');
// Given values
m = 5; // mass, [kg]
t1 = 15; // inital temperature, [C]
t2 = 100; // final temperature, [C]
c = 450; // specific heat capacity, [J/kg K]
// solution
// using heat transfer equation,[1]
Q = m*c*(t2-t1); // [J]
mprintf('\n The heat required is = %f kJ\n',Q*10^-3);
//End
|