summaryrefslogtreecommitdiff
path: root/1280/CH2/EX2.4/2_4.sce
blob: 29a029b9efac344fb7c4cb49fcf280f36fa2ad03 (plain)
1
2
3
4
5
6
7
8
clc
//initialisation of variables
P= 1000 //psi
Q= 3 //gpm
//CALCULATIONS
Fhp= P*Q/(1714)
//RESULTS
printf ('Fluid horsepower = %.2f hp',Fhp)