summaryrefslogtreecommitdiff
path: root/278/CH5/EX5.20
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /278/CH5/EX5.20
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 '278/CH5/EX5.20')
-rwxr-xr-x278/CH5/EX5.20/ex_5_20.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/278/CH5/EX5.20/ex_5_20.sce b/278/CH5/EX5.20/ex_5_20.sce
new file mode 100755
index 000000000..c937c40d0
--- /dev/null
+++ b/278/CH5/EX5.20/ex_5_20.sce
@@ -0,0 +1,18 @@
+//find stresses at the sides of the column
+clc
+//solution
+//given
+D=250//mm
+d=200//mm
+P=20000//N
+e=500//mm
+pi=3.14
+A=(pi/4)*[D^2-d^2]//mm^2
+fo=P/A//N/mm^2//direct compressive stress
+Z=(pi/64)*[D^4-d^4]*(1/125)//mm^3
+M=P*e//N-mm
+fb=M/Z//N/mm^2
+Fm=fb+fo//N/mm^2//max comprssive stress
+Fmi=fb-fo//max tensile stress//N/mm^2
+printf("the max comprssive stress is ,%f N/mm^2\n",Fm)
+printf("the max tensile stress is ,%f N/mm^2",Fmi) \ No newline at end of file