summaryrefslogtreecommitdiff
path: root/1466/CH9/EX9.2/9_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1466/CH9/EX9.2/9_2.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1466/CH9/EX9.2/9_2.sce')
-rwxr-xr-x1466/CH9/EX9.2/9_2.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1466/CH9/EX9.2/9_2.sce b/1466/CH9/EX9.2/9_2.sce
new file mode 100755
index 000000000..748929dd8
--- /dev/null
+++ b/1466/CH9/EX9.2/9_2.sce
@@ -0,0 +1,20 @@
+
+clc
+//initialisation of variables
+w=64//lb/ft^3
+g=32.2//ft/sec^2
+s=10//mph
+l=100//ft
+r=1/8//in
+cf=0.0047
+A=1600//ft^2
+v1=27*10^-6//engineer units
+//CALCULATIONS
+v=s*5280/3600
+p=w/g
+k1=l*12/r
+Re=p*v*l/(v1)
+R=cf*p*A*v*v/2
+fhp=R*v/550
+//RESULTS
+printf ('Frictional horse power= %.f',fhp)