summaryrefslogtreecommitdiff
path: root/3772/CH7/EX7.12/Ex7_12.sce
blob: f00e51879005e112c6d5fda6319a7551c5bfb614 (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
// Problem no 7.12,Page no.192

clc;clear;
close;

P=3680 //KW //Power transmitted
N=110 //r.p.m 
X=20000 //N*m //Energy stored
G=85 //GPa

//Calculations


//U*V**-1=X //Strain Energy per unit volume //Notification has been changed
//X=sigma_s**2*(4*G)**-1*((D**2+d**2)*(D**2)**-1)

T=P*60000*(2*%pi*N)**-1 //N*m //Torque transmitted by shaft
sigma_s=(20000*3*G*10**9)**(1*2**-1) //MPa //shear stress of shaft

//T=%pi*16**-1*((D**4-d**4)*D**-1)*sigma_s 

//After substituting and simplifying above equations,we get,

d=((T*16*3**0.5)*(%pi*8*sigma_s)**-1)**(1*3**-1)
D=3**0.5*d 

//Result
printf("Diameter of shaft is D= %.2f",D);printf(" m")
printf("\n                      d= %.2f",d);printf(" m")