summaryrefslogtreecommitdiff
path: root/3774/CH3/EX3.2
diff options
context:
space:
mode:
Diffstat (limited to '3774/CH3/EX3.2')
-rw-r--r--3774/CH3/EX3.2/Ex3_2.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/3774/CH3/EX3.2/Ex3_2.sce b/3774/CH3/EX3.2/Ex3_2.sce
new file mode 100644
index 000000000..5414dc4be
--- /dev/null
+++ b/3774/CH3/EX3.2/Ex3_2.sce
@@ -0,0 +1,25 @@
+// exa 3.2 Pg 63
+
+clc;clear;close;
+
+// Given Data
+P=6;// kN
+alfa=30;// degree
+Sut=250;// MPa
+n=2.5;// factor of safety
+
+sigma_w=Sut/n;// MPa (Working stress for the link)
+PH=P*10**3*cosd(alfa);// kN
+PV=P*10**3*sind(alfa);// kN
+
+t=poly(0,'t');// thickness of link
+A=2*t*t;// mm.sq.
+sigma_d=PH/A;// N/mm.sq.
+M=PH*100+PV*250;// N.mm
+I=t*(2*t)**3/12;// mm^4 (Moment of Inertia)
+sigma_t=M*t/I;// N/mm.sq.
+//maximum tensile stress at the top fibres = sigma_d+sigma_t=sigma_w ...eqn(1)
+expr=sigma_d+sigma_t-sigma_w ;// expression of polynomial from above eqn.
+t=roots(numer(expr));// solving the equation (as denominator will me be multiplied by zero on R.H.S)
+t=t(1);// mm // discarding -ve roots
+printf('dimension of cross section of link, t=%.f mm.',t)