summaryrefslogtreecommitdiff
path: root/278/CH5/EX5.3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /278/CH5/EX5.3
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '278/CH5/EX5.3')
-rwxr-xr-x278/CH5/EX5.3/ex_5_3.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/278/CH5/EX5.3/ex_5_3.sce b/278/CH5/EX5.3/ex_5_3.sce
new file mode 100755
index 000000000..500946dc6
--- /dev/null
+++ b/278/CH5/EX5.3/ex_5_3.sce
@@ -0,0 +1,24 @@
+//find daimeter of shaft
+clc
+//solution
+//given
+P=97.5*10^3//W//power
+N=180//rpm
+t=60//N/mm^2//tortional stress
+l=3000//mm//length of shaft
+C=80*10^3//N/mm^2
+//let T be torque in N-m
+pi=3.14
+q=0.0174//rad//angle
+//P=2*pi*N*T/60
+T=P*60/(2*pi*N)//N-m
+//we will find diameter of shaft using stiffness and strength
+//using strength
+//T*1000=(pi/16)*t*d^3
+d=(16*T*1000/pi/t)^0.33//mm
+//using stiffness
+//J=(pi/32)*d^4
+//T/J=C*q/l
+d1=(l*T*1000/C/q/0.0982)^(1/4)
+printf("the diameter using strength is,%f mm\n",d)
+printf("the diameter using stiffness is,%f mm\n",d1) \ No newline at end of file