summaryrefslogtreecommitdiff
path: root/686/CH4/EX4.4/Ex4_4.sci
diff options
context:
space:
mode:
Diffstat (limited to '686/CH4/EX4.4/Ex4_4.sci')
-rwxr-xr-x686/CH4/EX4.4/Ex4_4.sci16
1 files changed, 16 insertions, 0 deletions
diff --git a/686/CH4/EX4.4/Ex4_4.sci b/686/CH4/EX4.4/Ex4_4.sci
new file mode 100755
index 000000000..d49eb69a6
--- /dev/null
+++ b/686/CH4/EX4.4/Ex4_4.sci
@@ -0,0 +1,16 @@
+clc();
+clear;
+
+// To calculate the time needed to estabilish a steady state temperature distribution in the walls and in the room
+tf = 70; // Final temperature of the wall in F
+hi = 1.2; // Inner heat transfer coefficint of wall i Btu/hr-ft^2-degF
+ho = 3.0; // Outer heat transfer coefficient in Btu/hr-ft^2-degF
+a = 0.012; // Thermal diffusivity in ft^2/hr
+x = 1.3; // Thickness of wall in ft
+
+// Assuming the rate of heat trasfer to the inside of a wall is constant
+// And since the wall is divided into six sections
+delx = x/6; // Thickness of sections in ft
+t = (delx)^2/(2*a); // time required in hr
+printf("the time needed to estabilish a steady state temperature distribution in the walls and in the room is %.2f hr",t);
+