summaryrefslogtreecommitdiff
path: root/2666/CH12/EX12.5/12_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '2666/CH12/EX12.5/12_5.sce')
-rwxr-xr-x2666/CH12/EX12.5/12_5.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2666/CH12/EX12.5/12_5.sce b/2666/CH12/EX12.5/12_5.sce
new file mode 100755
index 000000000..f67c3c558
--- /dev/null
+++ b/2666/CH12/EX12.5/12_5.sce
@@ -0,0 +1,18 @@
+clc
+//initialisation of variables
+p=5//ft
+p1=200//ft
+t1=70//F
+t2=10//F
+h1=23.90//ft
+h2=79.36//hp
+s1=0.17015//ft
+p2=84.82//psia
+h3=87.87//Btu
+g=42.4//ft
+//CALCULATIONS
+W=p*p1/(h2-h1)//lb per min
+W1=W*(h3-h2)//Btu per min
+H=W1/g//hp
+//RESULTS
+printf('the horse power is =% f hp',H)