Moment
-
Upload
archana-rajan -
Category
Documents
-
view
2 -
download
0
description
Transcript of Moment
7/17/2019 Moment
http://slidepdf.com/reader/full/moment-568f1e077946f 2/3
fprintf(fid,'Doubly reinforced section \n'); nt=input('\nEnter the number of bars in tension '); nc=input('\nEnter the number of bars in compression '); dt=input('\nEnter the diameter of bars in tension dt(mm) '); dc=input('\nEnter the diameter of bars in compression dc(mm) '); Asc=nc*(.785)*dc^2; cc=input('\nEnter the cover at top cc(mm) '); Dl=cc+(dc/2); fprintf(fid,'\n Number of bars in tension %10.2f\n',nt); fprintf(fid,'\n Number of bars in compression %10.2f\n',nc); fprintf(fid,'\n Diameter of bars in tension dt(mm) %10.2f\n',dt); fprintf(fid,'\n Diameter of bars in compression %10.2f\n',dc); fprintf(fid,'\n Area of steel in compression(mm^2) %10.2f\n',Asc); end Ast=nt*(.785)*dt^2; fprintf(fid,'\n Area of steel in tension(mm^2) %10.2f\n',Ast);ct=input('\nEnter the cover at bottom ct(mm) ');Lo=menu('Select the type of beam','Simply Supported','Continuous beam'); if Lo==1 fprintf(fid,'Simply Supported \n'); Lo=L; else fprintf(fid,'Continuous beam \n');
Lo=.7*L; endbf=k*(Lo/6+(6*Df))+bw;d=D-((dt/2)+ct);fsc=fyd;xumax=(.0035/(.0055+(fyd/Es)))*d;xu=((fyd*Ast)-(fsc*Asc))/(.36*fck*bf); fprintf(fid,'\n xu(mm)=%10.2f\n',xu); fprintf(fid,'\n xumax(mm)=%10.2f\n',xumax);if k==0 if xu<=xumax Mu=(.36*fck*b*xu*(d-(.42*xu)))+(fsc*Asc*(d-Dl)); fprintf(fid,'\nMoment of resistance of beam Mu(kNm)%10.2f\n',Mu/(10^6));
elsefprintf(fid,'over reinforced section \n'); Mu=(.36*fck*b*xumax*(d-(.42*xumax)))+(fsc*Asc*(d-Dl));
fprintf(fid,'\n Moment of resistance of beam Mu(kNm)=%10.2f',Mu/(10^6)); endelse if xu<Df Mu=(.36*fck*bf*xu*(d-(.42*xu))); fprintf(fid,'\n Moment of resistance of beam Mu(kNm)=%10.2f',Mu/(10^6)); else if xu<(7*Df/3) xu=((fyd*Ast)-(.2899*fck*(bf-bw)*Df))/((.36*fck*bw)+(0.0669*fck*(bf-bw)));
yf=(.15*xu)+(.65*Df); Mu=(.36*fck*bw*xu*(d-.42*xu))+(.446*fck*(bf-bw)*yf*(d-(yf/2))); fprintf(fid,'\n xu(mm)=%10.2f\n',xu); fprintf(fid,'\n Moment of resistance of beam Mu(kNm)=%10.2f',Mu/(10^6));
elsexu=((fyd*Ast)-(.446*fck*(bf-bw)*Df))/(.36*fck*bw);
Mu=(.36*fck*bw*xu*(d-.42*xu))+(.446*fck*(bf-bw)*Df*(d-(Df/2))); fprintf(fid,'\n xu(mm)=%10.2f\n',xu);