summaryrefslogtreecommitdiff
path: root/278/CH13/EX13.3/ex_13_3.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /278/CH13/EX13.3/ex_13_3.sce
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '278/CH13/EX13.3/ex_13_3.sce')
-rwxr-xr-x278/CH13/EX13.3/ex_13_3.sce46
1 files changed, 23 insertions, 23 deletions
diff --git a/278/CH13/EX13.3/ex_13_3.sce b/278/CH13/EX13.3/ex_13_3.sce
index 5b26dcea4..41ebd7196 100755
--- a/278/CH13/EX13.3/ex_13_3.sce
+++ b/278/CH13/EX13.3/ex_13_3.sce
@@ -1,24 +1,24 @@
-//desing keyway in motr shaft
-clc
-//soltuion
-//given
-P=15*10^3//W
-N=960//rpm
-d=40//mm
-l=75//mm
-t=56//N/mm^2
-fc=112//N/mm^2
-Tq=(P*60)/(2*%pi*N)//N-mm
-//let w be width of key
-//Tq=l*w*t*d/2=84000*w
-//w=Tq/84000//mm
-printf("the width of keywy is,%f mm\n",Tq/84000)
-printf("this width is too small,it should be atleats w=d/4,so taking w=d/4 as min widht we get w=d/4=10//mm\n")
-w=10//mm
-T=10//mm//thickness =width=square key
-h=T/2
-e=1-(0.2*(w/d))-1.1*(h/d)
-P1=(pi/16)*t*d^3*e//N//strength of shaft
-Ps=l*w*t*d/2//N//shear strength of shaft
-x=Ps/P1//
+clc
+//soltuion
+//given
+pi = %pi;
+P=15*10^3//W
+N=960//rpm
+d=40//mm
+l=75//mm
+t=56//N/mm^2
+fc=112//N/mm^2
+Tq=(P*60)/(2*%pi*N)//N-mm
+//let w be width of key
+//Tq=l*w*t*d/2=84000*w
+//w=Tq/84000//mm
+printf("the width of keywy is,%f mm\n",Tq/84000)
+printf("this width is too small,it should be atleats w=d/4,so taking w=d/4 as min widht we get w=d/4=10//mm\n")
+w=10//mm
+T=10//mm//thickness =width=square key
+h=T/2
+e=1-(0.2*(w/d))-1.1*(h/d)
+P1=(pi/16)*t*d^3*e//N//strength of shaft
+Ps=l*w*t*d/2//N//shear strength of shaft
+x=Ps/P1//
printf("the check value is,%f",x) \ No newline at end of file