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 /3705/CH8/EX8.9/Ex8_9.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 '3705/CH8/EX8.9/Ex8_9.sce')
-rw-r--r-- | 3705/CH8/EX8.9/Ex8_9.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/3705/CH8/EX8.9/Ex8_9.sce b/3705/CH8/EX8.9/Ex8_9.sce new file mode 100644 index 000000000..503b2ef6f --- /dev/null +++ b/3705/CH8/EX8.9/Ex8_9.sce @@ -0,0 +1,19 @@ + +clear//
+
+//Variable Declaration
+sigma_w=120 //Working Stress in MPa
+tau_w=70 //Working Shear in MPa
+
+//Calcualtions
+//Section a-a
+M=3750 //Applied moment at section a-a in N.m
+T=1500 //Applied Torque at section a-a in N.m
+
+//After carrying out the variable based computation we compute d
+d1=((124.62)/(sigma_w*10**3*%pi))**0.3333 //Diameter of the shaft in m
+d2=((65.6)/(tau_w*10**3*%pi))**0.3333 //Diameter of the shaft in m
+d=max(d1,d2) //Diameter of the shaft to be selected in m
+
+//Result
+printf("\n The diameter of the shaft to be selected is %0.1f mm",d*1000)
|