From f35ea80659b6a49d1bb2ce1d7d002583f3f40947 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:38:01 +0530 Subject: updated the code --- 278/CH12/EX12.5/ex_12_6.sce | 56 ++++++++++++++++++++++----------------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to '278/CH12/EX12.5/ex_12_6.sce') 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 -- cgit