summaryrefslogtreecommitdiff
path: root/2666/CH12/EX12.6/12_6.sce
blob: 90ef0d666b24fb7fc55b014d4a35eb8b81f38cf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)