summaryrefslogtreecommitdiff
path: root/2921/CH11/EX11.1/Ex11_1.sce
blob: 6c745a8f19cf5659e5a0b5659feed3cf8e680781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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);