summaryrefslogtreecommitdiff
path: root/3864/CH6/EX6.2/Ex6_2.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.2/Ex6_2.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.2/Ex6_2.sce')
-rw-r--r--3864/CH6/EX6.2/Ex6_2.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/3864/CH6/EX6.2/Ex6_2.sce b/3864/CH6/EX6.2/Ex6_2.sce
new file mode 100644
index 000000000..2c4184559
--- /dev/null
+++ b/3864/CH6/EX6.2/Ex6_2.sce
@@ -0,0 +1,26 @@
+clear
+//
+//
+
+//Initilization of Variables
+
+P=440*10**6 //N-m/sec //Power transmitted
+n=280 //rpm
+theta=%pi*180**-1 //radian //angle of twist
+L=1000 //mm //Length of solid shaft
+q_s=40 //N/mm**2 //Max torsional shear stress
+G=84*10**3 //N/mm**2 //Modulus of rigidity
+
+//Calculations
+
+//P=2*%pi*n*T*(60)**-1 //Equation of Power transmitted
+T=P*60*(2*%pi*n)**-1 //N-mm //torsional moment
+
+//From Consideration of shear stress
+d1=(T*16*(%pi*40)**-1)**0.333333
+
+//From Consideration of angle of twist
+d2=(T*L*32*180*(%pi*84*10**3*%pi)**-1)**0.25
+
+//result
+printf("\n Diameter of solid shaft is %0.2f mm",d1)