summaryrefslogtreecommitdiff
path: root/3392/CH17/EX17.3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3392/CH17/EX17.3
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 '3392/CH17/EX17.3')
-rwxr-xr-x3392/CH17/EX17.3/Ex17_3.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/3392/CH17/EX17.3/Ex17_3.sce b/3392/CH17/EX17.3/Ex17_3.sce
new file mode 100755
index 000000000..2469b81e4
--- /dev/null
+++ b/3392/CH17/EX17.3/Ex17_3.sce
@@ -0,0 +1,25 @@
+clc
+// initialization of variables
+clear
+E=200 //GPa
+v=0.29
+R=40 //mm
+h=20 //mm
+P=24.1 //kN
+S_max=1445 //MPa
+tau_max=433 //MPa
+tau_octM=361 //MPa
+//calculations
+E=E*10^3
+P=P*10^3
+Del=2*R*(1-v^2)/E
+b=sqrt(2*P*Del/(h*%pi))
+br=b/Del
+S_maxT=2*b/(9*Del)
+S_maxC=-1.13*br
+tau_max=0.31*br
+tau_octM=0.255*br
+printf('Sigma_max (tension) = %d MPa',S_maxT)
+printf('\n Sigma_max (compression) = %d MPa',S_maxC)
+printf('\n tau_max = %d MPa',tau_max)
+printf('\n tau_oct_max = %d MPa',tau_octM)