summaryrefslogtreecommitdiff
path: root/3862/CH8/EX8.3
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3862/CH8/EX8.3
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.gz
Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.bz2
Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.zip
Added new codeHEADmaster
Diffstat (limited to '3862/CH8/EX8.3')
-rw-r--r--3862/CH8/EX8.3/Ex8_3.sce34
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.")
+