blob: 9ccf3b01e73b2a1c3ff5b75bd8728b6bd3e6e44c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Calculating the temperature of machine after one hour of its final steady temperature rise
clc;
disp('Example 4.17, Page No. = 4.24')
// Given Data
Ti = 40;// Initial temperature (in degree celsius)
T_ambient = 30;// Ambient temperature (in degree celsius)
Tm = 80;// Final steady temperature rise (in degree celsius)
Th = 2;// Heating time constant (in hours)
t = 1;// Since we have to calculate temperature of machine after one hour of its final steady temperture rise (in hours)
// Calculation of the final steady temperature rise of coil surface and hot spot temperature rise
Ti_rise = Ti-T_ambient;// Initial temperature rise (in degree celsius)
T = Tm*(1-%e^(-t/Th))+(Ti_rise*%e^(-t/Th));// Temperature rise after one hour (in degree celsius)
disp(T+T_ambient,'Temperature of machine after one hour (degree celsius)=');
//in book answer is 67.54 (degree celsius). The answers vary due to round off error
|