summaryrefslogtreecommitdiff
path: root/746/CH6/EX6.08/6_08.sce
diff options
context:
space:
mode:
Diffstat (limited to '746/CH6/EX6.08/6_08.sce')
-rwxr-xr-x746/CH6/EX6.08/6_08.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/746/CH6/EX6.08/6_08.sce b/746/CH6/EX6.08/6_08.sce
new file mode 100755
index 000000000..1b322d0bd
--- /dev/null
+++ b/746/CH6/EX6.08/6_08.sce
@@ -0,0 +1,12 @@
+//temperature//
+pathname=get_absolute_file_path('06.08.sce')
+filename=pathname+filesep()+'06.08-data.sci'
+exec(filename)
+//Velocity of flow at exit(in ft/sec):
+V4=sqrt(2*g*(z3-0))
+//Mass flow rate of water(in slug/sec):
+m=d*V4*A4/144
+//Rise in temperature between points 1 and 2(in R):
+T=Q*3413/3600/m/32.2
+printf("\n\nRESULTS\n\n")
+printf("\n\nRise in temperature between points 1 and 2: %.3f R\n\n",T)