summaryrefslogtreecommitdiff
path: root/2732/CH2/EX2.11
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2732/CH2/EX2.11
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 '2732/CH2/EX2.11')
-rwxr-xr-x2732/CH2/EX2.11/Ex2_11.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2732/CH2/EX2.11/Ex2_11.sce b/2732/CH2/EX2.11/Ex2_11.sce
new file mode 100755
index 000000000..56fd8a754
--- /dev/null
+++ b/2732/CH2/EX2.11/Ex2_11.sce
@@ -0,0 +1,17 @@
+clc
+// initialization of variables
+clear
+d=2 // m
+l=10 // m
+t=1 // cm
+p=15 // kgf/cm^2
+pitch= 2*%pi //m
+//calculations
+w=2*%pi*d/2 // m
+theta=atan(w/(2*%pi))
+sigma_z=p*d*100/(4*t)
+sigma_th=p*d*100/(2*t)
+sigma_th_new=(sigma_th+sigma_z)/2+(sigma_th-sigma_z)/2*cos(2*theta)
+tau_thz=(sigma_z-sigma_th)*sin(2*theta)/2
+// results
+printf('At the junction, the normal and shear stresses are %d and %d kgf/cm^2 \n respectively, and the rivets must be designed for this',sigma_th_new,-tau_thz)