summaryrefslogtreecommitdiff
path: root/3776/CH11/EX11.8
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 10:59:42 +0530
committerprashantsinalkar2018-02-03 10:59:42 +0530
commitd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (patch)
tree612077a22c8142c0ae754ec11882a4e7d5dc25a4 /3776/CH11/EX11.8
parentf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (diff)
downloadScilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.gz
Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.bz2
Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.zip
Modified the code
Diffstat (limited to '3776/CH11/EX11.8')
-rw-r--r--3776/CH11/EX11.8/Ex11_8.sce13
1 files changed, 7 insertions, 6 deletions
diff --git a/3776/CH11/EX11.8/Ex11_8.sce b/3776/CH11/EX11.8/Ex11_8.sce
index 84736d445..64d8b2256 100644
--- a/3776/CH11/EX11.8/Ex11_8.sce
+++ b/3776/CH11/EX11.8/Ex11_8.sce
@@ -2,18 +2,19 @@ clear
//Given
//
L = 15.0 //ft - The length of the each rod
-A = 46.7 //in2 - The length of the crossection
+A = 46.7 //sq.in - The length of the crossection
r_min = 4 //in - The radius of gyration
stress_yp = 36.0 //ksi - the yielding point stress
E = 29*(10**3) //ksi - The youngs modulus
lamda = L*12*((stress_yp/E)**0.5)/(4*(%pi)) //column slenderness ratio
if lamda<1.5 then
- printf("The following approach is right")
+ printf("Since lamda<1.5 we can apply the AISC LFRD formula")
else
printf("The following approach is wrong")
end
-stress_cr = (0.658**(lamda**2))*stress_yp //ksi - The critical stress
-P_n = stress_cr*A //kips //Nominal compressive strength
+stress_cr = (0.658**(lamda**2))*stress_yp //ksi - The critical stress
+P_n = stress_cr*A //kips //Nominal compressive strength
o = 0.85 //Resistance factor
-p_u = o*P_n //kips ,column design compressive strength
-printf("\n column design compressive strength %0.3f kips",p_u)
+p_u = o*P_n //kips ,column design compressive strength
+printf("\ncolumn design compressive strength %0.3f kips",p_u)
+// small variation due to rounding off errors