diff options
author | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
commit | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch) | |
tree | 449d555969bfd7befe906877abab098c6e63a0e8 /3864/CH6/EX6.12 | |
parent | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff) | |
download | Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.gz Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.bz2 Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.zip |
Diffstat (limited to '3864/CH6/EX6.12')
-rw-r--r-- | 3864/CH6/EX6.12/Ex6_12.sce | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/3864/CH6/EX6.12/Ex6_12.sce b/3864/CH6/EX6.12/Ex6_12.sce new file mode 100644 index 000000000..a38b0a948 --- /dev/null +++ b/3864/CH6/EX6.12/Ex6_12.sce @@ -0,0 +1,43 @@ +clear +// +// + +//Initilization of Variables +d=100 //mm //Diameter of solid shaft +d1=100 //mm //Outer Diameter of hollow shaft +d2=50 //mm //Inner Diameter of hollow shaft + +//Calculations + +//Torsional moment of solid shaft +//T_s=J*q_s*(d*2**-1)**-1 +//After substituting values in above equation and further simplifying we get +//T_s=%pi*16*d**3*q_s ...............(1) + +//torsional moment for hollow shaft is +//T_h=J*q_s*(d1**4-d2**4)**-1*(d1*2**-1) +//After substituting values in above equation and further simplifying we get +//T_h=%pi*32**-1*2*d1**-1*(d1**4-d2**4)*q_s ...........(2) + +//Dividing Equation 2 by 1 we get +//Let the ratio of T_h*T_s**-1 Be X +X=1-0.5**4 + +//Loss in strength +//Let s be the loss in strength +//s=T_s*T_h*100*T_s**-1 +//After substituting values in above equation and further simplifying we get +s=(1-0.9375)*100 + +//Weight Ratio +//Let w be the Weight ratio +//w=W_h*W_s**-1 + +A_h=%pi*32**-1*(d1**2-d2**2) //mm**2 //Area of Hollow shaft +A_s=%pi*32**-1*d**2 //mm**2 //Area of solid shaft + +w=A_h*A_s**-1 + +//Result +printf("\n Loss in strength is %0.2f ",s) +printf("\n Weight ratio is %0.2f ",w) |