Professional Documents
Culture Documents
APPLICATION
Submitted by : Group 9
Code:
if Type==2
p=linspace(0,length,25);
s=R1-W*p;
r=R1*p-W*p.*p/2;
subplot(2,1,1)
plot(p,s);
title('SFD');
xlabel('Beam position in mm');
ylabel('SF in N');
subplot(2,1,2)
plot(p,r);
title('BMD');
xlabel('Beam position in mm');
ylabel('BM in N.m');
else if Type == 1
p=linspace(0,length,25);
q=p-a;
u=max(0,q);
r=R1*p-W*u;
s=R1*(p<=a)-R2*(p>=a);
subplot(2,1,1)
plot(p,s);
title('SFD');
xlabel('Beam position in mm');
ylabel('SF in N')
subplot(2,1,2)
plot(p,r);
title('BMD');
xlabel('Beam position in mm');
ylabel('BMD in N.m');
end
end
Code:
clc
% Design of Simply supported RCC beam with udl
Clc;
clear all;
ll=25; % ll= live load in KN/m
l=5; %l=effective span in m
fck=20;% fck= grade of concrete in N/mm2
fy=415;%fy=grade of steel in N/mm2
Es=2e5; %Es= modulus of elasticity of steel
gama=25; % gama is unit of RCC in KN/m3
b=230; % b= width of beam in mm
D =525; %D= overall depth of the beam in mm
cl= 25; % clear cover in mm
dst=8; % dst is diameter of stirrup in mm
dln=25; % dln is diameter of longitudinal bar in mm
d= D-cl-dst-dln/2; % d is effective depth of beam in mm
sw = b*D*gama/(1000*1000); %sw is self weight of beam in Kn/m
tsl=(sw+ll); % tsl is total service load on beam
dl=1.5*tsl; % dl= design load in KN/m
Mmax=dl*l^2/8 % Mmax= maximum bending moment
xumax_d=0.0035/(0.0055+0.87*fy/Es) % xumax_d is xumax by d
xumax=xumax_d*d; % xumax is max neuteal axis depth
MR= 0.36*fck*xumax*b*(d-0.42*xumax)/1e6 %MR is moment of resistance of
RCC beam
if (MR > Mmax)
disp('The section is safe')
else
disp('Revise the sectional depth')
end
Ast= 0.5*fck*(1-sqrt(1-(4.6*Mmax*1e6/(fck*b*d^2))))*b*d/fy %Ast is
area of steel
Nb_rd=Ast/(pi*dln^2/4) % Nb is number of bar required
Nb_pr=ceil(Ast/(pi*dln^2/4)) % Nb is number of bar provided
131.3379
xumax_d =
0.4791
MR = 145.7119
917.3493
Nb_rd =
1.8688
Nb_pr =
Ast_min =
259.6379
Ast_max =
4.8300e+03
Hence ok
Validation:
Objective 3: To calculate the Cumulative Number of standard axle
Code: