summaryrefslogtreecommitdiff
path: root/278/CH12/EX12.5/ex_12_6.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /278/CH12/EX12.5/ex_12_6.sce
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '278/CH12/EX12.5/ex_12_6.sce')
-rwxr-xr-x278/CH12/EX12.5/ex_12_6.sce56
1 files changed, 28 insertions, 28 deletions
diff --git a/278/CH12/EX12.5/ex_12_6.sce b/278/CH12/EX12.5/ex_12_6.sce
index 971065b53..5d9a58908 100755
--- a/278/CH12/EX12.5/ex_12_6.sce
+++ b/278/CH12/EX12.5/ex_12_6.sce
@@ -1,29 +1,29 @@
-//design cottered foundation bolts
-clc
-//solution
-//given
-P=50*10^3//N
-ft=80//N/mm^2
-t=50//N/mm^2
-fc=100//N/mm^2
-pi=3.14
-//P=(pi/4)*d^2*ft=62.84*d^2
-//d=sqrt(P/62.84)//mm
-printf("the diameter of bolt is,%f mm\n",sqrt(P/62.84))
-printf("the diameter of bolt is,say 30mm\n")
-d=30//mm
-//let d1 be dia of enlarged end of bolt
-//t1 be thickness of cotter
-//t1=d1/4
-//P=[((pi/4)*d1^2)-(d1*t1)]*ft
-//P=42.84*d1^2
-//d1=sqrt(P/42.84)//mm
-printf("the dia of enlarged end of bolt is,%f mm\n ",sqrt(P/42.84))
-printf("the dia of enlarged end of bolt is,say 36mm\n")
-d1=36//mm
-t1=d1/4//mm
-printf("the thickness is,%f mm\n",t1)
-//let b width of cotter
-//P=2*b*t1*t==900*b
-b=P/(900)//mm
+
+clc
+//solution
+//given
+P=50*10^3//N
+ft=80//N/mm^2
+t=50//N/mm^2
+fc=100//N/mm^2
+pi=3.14
+//P=(pi/4)*d^2*ft=62.84*d^2
+//d=sqrt(P/62.84)//mm
+printf("the diameter of bolt is,%f mm\n",sqrt(P/62.84))
+printf("the diameter of bolt is,say 30mm\n")
+d=30//mm
+//let d1 be dia of enlarged end of bolt
+//t1 be thickness of cotter
+//t1=d1/4
+//P=[((pi/4)*d1^2)-(d1*t1)]*ft
+//P=42.84*d1^2
+//d1=sqrt(P/42.84)//mm
+printf("the dia of enlarged end of bolt is,%f mm\n ",sqrt(P/42.84))
+printf("the dia of enlarged end of bolt is,say 36mm\n")
+d1=36//mm
+t1=d1/4//mm
+printf("the thickness is,%f mm\n",t1)
+//let b width of cotter
+//P=2*b*t1*t==900*b
+b=P/(900)//mm
printf("the width of cotter is,%f mm\n",b) \ No newline at end of file