blob: 1911a3aefee2add26e44213690b96fc9bae40571 (
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
33
34
|
clc
//
//Variable declaration
D=7.5 // Diameter of the bigger shaft(in)
d=3.75 // Diameter of the smaller shaft(in)
r=0.5625 // Inner radius(in)
k=1.33 // Stress concentration factor
//Calculation
temp1=(D/d)
temp2=(r/d)
T=((1/2)*(%pi)*((1.875)**3)*(8/1.33)) // Maximum torque(ksi)
//Power
f=(900/60) // Frequency(Hz)
Pa=(2*(%pi)*15*62.3*(10**3)) // Power(lb/s)
Pa=(Pa/6600) // Power(hp)
//Final Design
r=15/16 // Radius(in)
temp2=(0.9375/3.75)
k=1.20 // Stress concentration factor
T=(10.35*(8/1.20)) // Torque(kip.in)
Pb=(2)*(%pi)*(15)*(69)*((10**3)) // Power(lb/s)
Pb=(Pb/6600) // Power(hp)
//Percent Change in Power
PC=(((Pb-Pa)/Pa)*100)
//Result
printf("\n Case(a): Maximum power that can be transmitted = %1f hp' ,Pa)
printf("\n Case(b): Percentage in power = %1f ' ,PC)
|