summaryrefslogtreecommitdiff
path: root/746/CH4/EX4.09/4_09.sce
diff options
context:
space:
mode:
Diffstat (limited to '746/CH4/EX4.09/4_09.sce')
-rwxr-xr-x746/CH4/EX4.09/4_09.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/746/CH4/EX4.09/4_09.sce b/746/CH4/EX4.09/4_09.sce
new file mode 100755
index 000000000..3415f9e67
--- /dev/null
+++ b/746/CH4/EX4.09/4_09.sce
@@ -0,0 +1,8 @@
+//pressure required//
+pathname=get_absolute_file_path('4.09.sce')
+filename=pathname+filesep()+'4.09-data.sci'
+exec(filename)
+//Minimum gauge pressure required(in lbf/in^2):
+pg=8/%pi^2*d/D1^4*Q^2*((D1/D2)^4-1)*144
+printf("\n\nRESULTS\n\n")
+printf("Minimum gauge pressure required: %.3f lbf/in^2",pg)