diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3774/CH3/EX3.12/Ex3_12.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3774/CH3/EX3.12/Ex3_12.sce')
-rw-r--r-- | 3774/CH3/EX3.12/Ex3_12.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/3774/CH3/EX3.12/Ex3_12.sce b/3774/CH3/EX3.12/Ex3_12.sce new file mode 100644 index 000000000..7b94e8c01 --- /dev/null +++ b/3774/CH3/EX3.12/Ex3_12.sce @@ -0,0 +1,25 @@ +// exa 3.12 Pg 72 + +clc;clear;close; + +// Given Data +sigma_w=60;// MPa +F=10;// kN +alfa=30;// degree + +FH=F*sind(alfa);// kN +FV=F*cosd(alfa);// kN +t=poly(0,'t');// mm +A=t*t;// mm.sq. +sigma_d=FV*10**3/A +M=FV*10**3*120+FH*10**3*150;// N.mm +I=t*(2*t)**3/12;// mm^4 +sigma_t=M*t/I;// N/mm.sq. +// Tensile stress at A=sigma_d+sigma_t=sigma_w ...eqn(1) +expr = sigma_d+sigma_t-sigma_w;// polynomial from above eqn. +t=roots(numer(expr));// roots of the polynomial +t=t(1);// mm // discarding -ve roots +printf('\n value of t = %.1f mm',t) +A=2*t**2;// mm.sq. +printf('\n Area of cross-section of Hanger, A = %.f mm.sq.',A) +// Note-Answer in the textbook is slighly wrong and cross section not calculated. |