summaryrefslogtreecommitdiff
path: root/2066/CH9/EX9.5/9_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2066/CH9/EX9.5/9_5.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 '2066/CH9/EX9.5/9_5.sce')
-rwxr-xr-x2066/CH9/EX9.5/9_5.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2066/CH9/EX9.5/9_5.sce b/2066/CH9/EX9.5/9_5.sce
new file mode 100755
index 000000000..b156dd154
--- /dev/null
+++ b/2066/CH9/EX9.5/9_5.sce
@@ -0,0 +1,18 @@
+clc
+clear
+//Initialization of variables
+rpm=60
+rho=2 //slugs/ft^3
+mu=3.5e-5 //lb-sec/ft^2
+D=4/12 //ft
+r=2 //ft
+//calcualtions
+V=rpm*2*%pi/60 *2
+Nr=V*D*rho/mu
+Cd=1.1
+Fd=Cd*%pi/4 *(D)^2 *0.5*rho*V^2
+T=2*Fd*r
+w=rpm*2*%pi/60
+hp=T*w/550
+//results
+printf("Horsepower required = %.2f hp",hp)