summaryrefslogtreecommitdiff
path: root/3647/CH12/EX12.2/ex12_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3647/CH12/EX12.2/ex12_2.sce')
-rw-r--r--3647/CH12/EX12.2/ex12_2.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3647/CH12/EX12.2/ex12_2.sce b/3647/CH12/EX12.2/ex12_2.sce
new file mode 100644
index 000000000..40f5897ea
--- /dev/null
+++ b/3647/CH12/EX12.2/ex12_2.sce
@@ -0,0 +1,17 @@
+//Solutions to Problems In applied mechanics
+//A N Gobby
+clear all;
+clc
+//initialisation of variables
+p=1.23//ft^2
+t=0.197//ft^2
+u=1.595//ft^2
+g=13.56//ft^2
+w=9.2//in
+m=0.97//in
+//CALCULATIONS
+H=(g-1)*w/12//ft^2
+Q=m*u*sqrt(H)//ft^3
+S=Q*60*62.4/10//gallons/min
+//RESULTS
+printf('the head difference in feet of water=% f gallons/min',S)