summaryrefslogtreecommitdiff
path: root/1244/CH9/EX9.18
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1244/CH9/EX9.18
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 '1244/CH9/EX9.18')
-rwxr-xr-x1244/CH9/EX9.18/Example918.sce32
1 files changed, 32 insertions, 0 deletions
diff --git a/1244/CH9/EX9.18/Example918.sce b/1244/CH9/EX9.18/Example918.sce
new file mode 100755
index 000000000..e9c25b03a
--- /dev/null
+++ b/1244/CH9/EX9.18/Example918.sce
@@ -0,0 +1,32 @@
+
+
+// Display mode
+mode(0);
+
+// Display warning for floating point exception
+ieee(1);
+
+clc;
+disp("Principles of Heat Transfer, 7th Ed. Frank Kreith et. al Chapter - 9 Example # 9.18 ")
+
+//Emissivity
+epsilon = 0.8;
+//Stefan's constant
+sigma = 0.1714;
+//Temperature of walls in degree F
+Twall = 440;
+//Temperature indicated ny thermocouple in degree F
+Tt = 940;
+//Heat transfer coefficient in Btu/h ft2 F
+h = 25;
+
+//The temperature of the thermocouple is below the gas temperature because the couple loses heat by radiation to the wall.
+
+//Under steady-state conditions the rate of heat flow by radiation from the thermocouple junction to the wall equals the rate of heat flow by convection from the gas to the couple.
+
+//Using this heat balance, q/A in Btu/h ft2
+q = (epsilon*sigma)*(((Tt+460)/100)^4-((Twall+460)/100)^4);
+
+disp("True gas temperature in degree F")
+//True gas temperature in degree F
+Tg = Tt+q/h