summaryrefslogtreecommitdiff
path: root/1244/CH9/EX9.9
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.9
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.9')
-rwxr-xr-x1244/CH9/EX9.9/Example99.sce29
1 files changed, 29 insertions, 0 deletions
diff --git a/1244/CH9/EX9.9/Example99.sce b/1244/CH9/EX9.9/Example99.sce
new file mode 100755
index 000000000..cf29f26d8
--- /dev/null
+++ b/1244/CH9/EX9.9/Example99.sce
@@ -0,0 +1,29 @@
+
+// Display mode
+mode(0);
+
+// Display warning for floating point exception
+ieee(1);
+
+clc;
+disp("Principles of Heat transfer, Seventh Edition, Frank Kreith, Raj M Manglik and Mark S Bohn, Chapter 9, Example 9")
+//Window arrangement consists of a long opening with dimensions
+//Height in meters
+h=1;
+//Length in meters
+l=5;
+//width of table in meters
+w=2;
+//Assuming that window and table are sufficiently long and applying crossed string method, we get
+//Distance ab in m
+ab=0;
+//Distance cb in m
+cb=w;
+//Distance ad in m
+ad=h;
+//Distance cd in m
+cd=sqrt(l);
+
+disp("Shape factor between the window and the table")
+//Shape factor between the window and the table
+F_12=0.5*(ad+cb-cd)