summaryrefslogtreecommitdiff
path: root/2921/CH11/EX11.1/Ex11_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2921/CH11/EX11.1/Ex11_1.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 '2921/CH11/EX11.1/Ex11_1.sce')
-rwxr-xr-x2921/CH11/EX11.1/Ex11_1.sce32
1 files changed, 32 insertions, 0 deletions
diff --git a/2921/CH11/EX11.1/Ex11_1.sce b/2921/CH11/EX11.1/Ex11_1.sce
new file mode 100755
index 000000000..6c745a8f1
--- /dev/null
+++ b/2921/CH11/EX11.1/Ex11_1.sce
@@ -0,0 +1,32 @@
+clc;
+clear;
+mprintf('MACHINE DESIGN \n Timothy H. Wentzell, P.E. \n EXAMPLE-11.1 Page No.217\n');
+
+N2=60;
+N1=20;
+N3=20;
+N4=60;
+
+Vr=(N2/N1)*(N4/N3);
+
+//Output speed
+n1=3600;
+n4=n1/Vr;
+
+mprintf('\n The output speed is %f rpm.',n4);
+
+//Output torque
+T1=200;
+T4=T1*Vr;
+
+mprintf('\n The output torque is %f lb*in.',T4);
+
+//Input horsepower
+hpi=T1*n1/63000;
+
+mprintf('\n The input horsepower is %f hp.',hpi);
+
+//Output horsepower
+hpo=T4*n4/63000;
+
+mprintf('\n The output horsepower is %f hp.',hpo);