diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /278/CH4/EX4.15 | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '278/CH4/EX4.15')
-rwxr-xr-x | 278/CH4/EX4.15/ex_4_15.sce | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/278/CH4/EX4.15/ex_4_15.sce b/278/CH4/EX4.15/ex_4_15.sce index aff2f336c..b7a476b5d 100755 --- a/278/CH4/EX4.15/ex_4_15.sce +++ b/278/CH4/EX4.15/ex_4_15.sce @@ -1,33 +1,33 @@ -//find stres induced in both bars and pins
-clc
-//solution
-//given
-dc=0.050//m
-dse=0.075//m
-dsi=0.050//m
-dp=0.018//m
-t=50//degree celcius
-Es=210*10^9//N/m^2
-Ec=105*10^9//N/m^2
-as=11.5*10^-6//per degree celcius
-ac=17*10^-6//per degree celcius
-//refer fig 4.18
-pi=3.14
-Ac=(pi/4)*dc^2//m^2
-As=(pi/4)*(dse^2-dsi^2)//m^2
-Ap=(pi/4)*(dp)^2
-//let l be the length of rods
-//dlc=l*ac*t=850*10^-6*l
-//dls=l*as*t=575*10^-6*l
-//x=dlc-dls=275*10^-6*l
-//x1=(P*l)/(Ac*Ec)=(P*l)/(206.22*10^6)//m
-//x2=(P*l)/(As*Es)=(P*l)/(515.55*10^6)//m
-//therefore X=x1+x2=(6.79*10^-9*P*l)
-//x=X
-P=(275*10^-6)/(6.79*10^-9)//N
-fc=P/Ac//N/m^2
-fs=P/As//N/m^2
-tp=P/(2*Ap)//N/m^2
-printf("the stress in coper bar is, %f N/m^2\n",fc)
-printf("the stress in steel bar is, %f N/m^2\n",fs)
+ +clc +//solution +//given +dc=0.050//m +dse=0.075//m +dsi=0.050//m +dp=0.018//m +t=50//degree celcius +Es=210*10^9//N/m^2 +Ec=105*10^9//N/m^2 +as=11.5*10^-6//per degree celcius +ac=17*10^-6//per degree celcius +//refer fig 4.18 +pi=3.14 +Ac=(pi/4)*dc^2//m^2 +As=(pi/4)*(dse^2-dsi^2)//m^2 +Ap=(pi/4)*(dp)^2 +//let l be the length of rods +//dlc=l*ac*t=850*10^-6*l +//dls=l*as*t=575*10^-6*l +//x=dlc-dls=275*10^-6*l +//x1=(P*l)/(Ac*Ec)=(P*l)/(206.22*10^6)//m +//x2=(P*l)/(As*Es)=(P*l)/(515.55*10^6)//m +//therefore X=x1+x2=(6.79*10^-9*P*l) +//x=X +P=(275*10^-6)/(6.79*10^-9)//N +fc=P/Ac//N/m^2 +fs=P/As//N/m^2 +tp=P/(2*Ap)//N/m^2 +printf("the stress in coper bar is, %f N/m^2\n",fc) +printf("the stress in steel bar is, %f N/m^2\n",fs) printf("the stress is pin is,%f N.m^2",tp)
\ No newline at end of file |