summaryrefslogtreecommitdiff
path: root/3864/CH6/EX6.21
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.21
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.21')
-rw-r--r--3864/CH6/EX6.21/Ex6_21.sce29
1 files changed, 29 insertions, 0 deletions
diff --git a/3864/CH6/EX6.21/Ex6_21.sce b/3864/CH6/EX6.21/Ex6_21.sce
new file mode 100644
index 000000000..031493439
--- /dev/null
+++ b/3864/CH6/EX6.21/Ex6_21.sce
@@ -0,0 +1,29 @@
+clear
+//
+//
+
+//Initilization of Variables
+
+G=80*10**3 //N/mm**2
+P=1*10**9 //N-mm/sec //Power
+n=300
+d1=150 //mm //Outer Diameter
+d2=120 //mm //Inner Diameter
+L=2000 //mm //Length of circular shaft
+
+//Calculations
+
+T=P*60*(2*%pi*n)**-1 //N-mm
+
+//Polar Modulus
+J=%pi*32**-1*(d1**4-d2**4) //mm**4
+
+q_s=T*J**-1*(d1*2**-1) //N/mm**2
+
+
+//Strain ENergy
+U=q_s**2*(4*G)**-1*%pi*4**-1*(d1**2-d2**2)*L
+
+//Result
+printf("\n Max shear stress is %0.2f N/mm**2",q_s)
+printf("\n Strain Energy stored in the shaft is %0.2f N-mm",U)