summaryrefslogtreecommitdiff
path: root/2666/CH12/EX12.6/12_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '2666/CH12/EX12.6/12_6.sce')
-rwxr-xr-x2666/CH12/EX12.6/12_6.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2666/CH12/EX12.6/12_6.sce b/2666/CH12/EX12.6/12_6.sce
new file mode 100755
index 000000000..90ef0d666
--- /dev/null
+++ b/2666/CH12/EX12.6/12_6.sce
@@ -0,0 +1,15 @@
+clc
+//initialisation of variables
+p1=27.0//psia
+p2=90//psia
+h1=23.90//Btu
+h2=79.36//Btu per lb
+h3=0.1720//Btu
+h4=89.02//Btu per lb
+w=18.03//lb per min
+d=42.4//tond
+//CALCULATIONS
+W=w*(h4-h2)//Btu per min
+H=W/d//hp
+//RESULTS
+printf('the horse power is =% f hp',H)