diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2666/CH12/EX12.5 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2666/CH12/EX12.5')
-rwxr-xr-x | 2666/CH12/EX12.5/12_5.sce | 18 |
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)
|