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/CH8/EX8.3/Ex8_3.sce | |
parent | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff) | |
download | Scilab-TBC-Uploads-master.tar.gz Scilab-TBC-Uploads-master.tar.bz2 Scilab-TBC-Uploads-master.zip |
Diffstat (limited to '3862/CH8/EX8.3/Ex8_3.sce')
-rw-r--r-- | 3862/CH8/EX8.3/Ex8_3.sce | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/3862/CH8/EX8.3/Ex8_3.sce b/3862/CH8/EX8.3/Ex8_3.sce new file mode 100644 index 000000000..a33b10123 --- /dev/null +++ b/3862/CH8/EX8.3/Ex8_3.sce @@ -0,0 +1,34 @@ +clear +// + +//variable declaration + +Y=(250) //Yield stress, N/mm^2 +FOS=(1.75) //Factor of safety +P=(160) //Load,KN + +p=Y/FOS + +printf("\n Therefore, permissible stress") + +printf("\n p= %0.3f N/mm^2 ",p) +printf("\n Load P= %0.3f N",P*1000) + +//p=P/A + +A=P*1000/p //area,mm^2 + +printf("\n A= %0.0f mm^2",A) + +//For hollow section of outer diameter āDā and inner diameter ādā A=%pi*(D^2-d^2)/4 +D=(101.6) //outer diameter,mm + +d=sqrt((D**2)-(4*A/%pi)) + +printf("\n d= %0.2f mm",d) + +t=(D-d)/2 +printf("\n t= %0.2f mm",t) + +printf("\n Hence, use of light section is recommended.") + |