diff options
author | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
commit | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch) | |
tree | 449d555969bfd7befe906877abab098c6e63a0e8 /3862/CH11/EX11.2/Ex11_2.sce | |
parent | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff) | |
download | Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.gz Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.bz2 Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.zip |
Diffstat (limited to '3862/CH11/EX11.2/Ex11_2.sce')
-rw-r--r-- | 3862/CH11/EX11.2/Ex11_2.sce | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/3862/CH11/EX11.2/Ex11_2.sce b/3862/CH11/EX11.2/Ex11_2.sce new file mode 100644 index 000000000..93cae8d59 --- /dev/null +++ b/3862/CH11/EX11.2/Ex11_2.sce @@ -0,0 +1,52 @@ +clear +// + +//A material has strength in tension, compression and shear as 30N/mm2, 90 N/mm2 and 25 N/mm2, respectively. If a specimen of diameter 25 mm is tested in tension and compression identity the failure surfaces and loads. + +//variable declaration + +//In tension: Let axial direction be x direction. Since it is uniaxial loading, py = 0, q = 0 and only px exists.when the material is subjected to full tensile stress, px = 30 N/mm^2. + +pt=(30) +pc=(90) +ps=(25) + +d=(25) +px=(30) //N/mm^2 +py=0 +q=0 +p1=(px+py)/2+sqrt((((px-py)/2)**2)+(q**2)) + +p2=(px+py)/2-sqrt((((px-py)/2)**2)+(q**2)) + +qmax=(px-py)/2 + +//Hence failure criteria is normal stress p1 + +A=%pi*(d**2)/4 + +//Corresponding load P is obtained by +p=p1 +P=p1*A + +printf("\n (a) P= %0.2f N",P) + +//In case of compression test, + +px=-pc + +P=-px*A + +printf("\n (b) P= %0.2f N compressive",(-P)) + +//at this stage + +qmax=sqrt((((px-py)/2**2))+(q**2)) + +printf("\n Material fails because of maximum shear and not by axial compression.") +qmax=25 +px=2*qmax + +P=px*A +printf("\n P= %0.0f N",P) +printf("\n The plane of qmax is at 45° to the plane of px. ") |