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/CH7/EX7.8/Ex7_8.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/CH7/EX7.8/Ex7_8.sce')
-rw-r--r-- | 3776/CH7/EX7.8/Ex7_8.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3776/CH7/EX7.8/Ex7_8.sce b/3776/CH7/EX7.8/Ex7_8.sce new file mode 100644 index 000000000..67646ba58 --- /dev/null +++ b/3776/CH7/EX7.8/Ex7_8.sce @@ -0,0 +1,18 @@ +clear +//Given +dia = 10.0 //mm - The diameter of the cylinder +c = dia/2 //mm - the radius of the cylinder +A = 3.14*(c**2) //mm2 The area of the crossection +y = 4*c/(3*3.14) //mm The com of cylinder +I = 3.14*(c**4)/4 //mm4 - The moment of inertia of the cylinder +j = 3.14*(dia**4)/32 //mm4 +T = 20.0 //N.m - The torque +V = 250.0 //N - The shear +M = 25.0 //N-m The bending moment +Q = A*y/2 //mm +stress_dmax = 4*V/(3*A) //V*Q/(I*d) //MPa The direct maximum stress +stress_tmax = T*c*(10**3)/j //-MPa The torsion maximum stress +stress_total = stress_dmax + stress_tmax //MPa The total stress +printf("\n The direct maximum stress %0.2f MPa",stress_dmax) +printf("\n The torsion maximum stress %0.2f MPa",stress_tmax) +printf("\n The total stress %0.2f MPa",stress_total) |