diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /278/CH5/EX5.1 | |
download | Scilab-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.1')
-rwxr-xr-x | 278/CH5/EX5.1/ex_5_1.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/278/CH5/EX5.1/ex_5_1.sce b/278/CH5/EX5.1/ex_5_1.sce new file mode 100755 index 000000000..fcb63ccb2 --- /dev/null +++ b/278/CH5/EX5.1/ex_5_1.sce @@ -0,0 +1,17 @@ +//find diameter of shaft
+clc
+//solution
+//given
+P=100000//W//power
+N=160//rpm
+//Tmax=1.25 Tmean
+t=70//N/mm^2//shear stress
+pi=3.14
+//P=2*pi*N*Tmean/60
+Tmean=(60*P)/(2*pi*N)//Nm
+Tmax=1.25*Tmean//Nm
+//Tmax=(pi/16)*t*d^3
+d=(Tmax*1000*16/(pi*t))^0.33
+printf("the mean torques is,%f Nm\n",Tmean)
+printf("the max torques is,%f Nm\n",Tmax)
+printf("the diametr of shaft is,%f mm",d)
\ No newline at end of file |