diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3776/CH4/EX4.5/Ex4_5.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3776/CH4/EX4.5/Ex4_5.sce')
-rw-r--r-- | 3776/CH4/EX4.5/Ex4_5.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/3776/CH4/EX4.5/Ex4_5.sce b/3776/CH4/EX4.5/Ex4_5.sce new file mode 100644 index 000000000..8d033dc9a --- /dev/null +++ b/3776/CH4/EX4.5/Ex4_5.sce @@ -0,0 +1,23 @@ +clear +//Given +hp = 200 //Horse power +stress_sh = 10000 //psi- shear stress +rpm_1 = 20.0 // The rpm at which this shaft1 operates +rpm_2 = 20000.0 // The rpm at which this shaft2 operates +T_1= hp*63000.0/rpm_1 //in-lb Torsion due to rpm1 +T_2= hp*63000/rpm_2 //in-lb Torsion due to rpm1 +//caliculations + +//j/c=T/shear_T=K +k_1= T_1/stress_sh //mm3 +//c3=2K/3.14 +c_1= ((2*k_1/3)**0.33) //mm - The radius of the shaft +diamter_1 = 2*c_1 //mm - The diameter of the shaft +printf("\n The Diameter of the shaft1 is %0.2f mm",diamter_1) + +//j/c=T/shear_T=K +k_2= T_2/stress_sh //mm3 +//c3=2K/3.14 +c_2= ((2*k_2/3)**0.33) //mm - The radius of the shaft +diamter_2 = 2*c_2 //mm - The diameter of the shaft +printf("\n The Diameter of the shaft2 is %0.3f mm",diamter_2) |