summaryrefslogtreecommitdiff
path: root/3681/CH4/EX4.17/Ex4_17.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3681/CH4/EX4.17/Ex4_17.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 '3681/CH4/EX4.17/Ex4_17.sce')
-rw-r--r--3681/CH4/EX4.17/Ex4_17.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3681/CH4/EX4.17/Ex4_17.sce b/3681/CH4/EX4.17/Ex4_17.sce
new file mode 100644
index 000000000..9ccf3b01e
--- /dev/null
+++ b/3681/CH4/EX4.17/Ex4_17.sce
@@ -0,0 +1,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
+