summaryrefslogtreecommitdiff
path: root/3864/CH6/EX6.7/Ex6_7.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3864/CH6/EX6.7/Ex6_7.sce
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-master.tar.gz
Scilab-TBC-Uploads-master.tar.bz2
Scilab-TBC-Uploads-master.zip
Added new codeHEADmaster
Diffstat (limited to '3864/CH6/EX6.7/Ex6_7.sce')
-rw-r--r--3864/CH6/EX6.7/Ex6_7.sce33
1 files changed, 33 insertions, 0 deletions
diff --git a/3864/CH6/EX6.7/Ex6_7.sce b/3864/CH6/EX6.7/Ex6_7.sce
new file mode 100644
index 000000000..70abac79a
--- /dev/null
+++ b/3864/CH6/EX6.7/Ex6_7.sce
@@ -0,0 +1,33 @@
+clear
+//
+//
+
+//Initilization of Variables
+
+P=3750*10**6 //N-mm/sec
+n=240 //Rpm
+q_s=160 //N/mm**2 //Max shear stress
+
+//Calculations
+
+//d2=0.8*d2 //mm //Internal Diameter of shaft
+
+//J=%pi*32**-1*(d1**4-d2**4) //mm**4 //Polar modulus
+//After substituting value in above Equation we get
+//J=0.05796*d1**4
+
+T=P*60*(2*%pi*n)**-1 //N-mm //Torsional moment
+
+//Now from Torsion Formula
+//T*J**-1=q_s*R**-1 ......................................(1)
+
+//But R=d1*2**-1
+
+//Now substituting value of R and J in Equation (1) we get
+d1=(T*(0.05796*q_s*2)**-1)**0.33333
+
+d2=d1*0.8
+
+//Result
+printf("\n The size of the Shaft is:d1 %0.3f mm",d1)
+printf("\n :d2 %0.3f mm",d2)