You are on page 1of 14

REPORT ON COMPUTER

APPLICATION

Submitted by : Group 9

Raunaq Purohit, Heerachand Khutiyare, Surala Bhaskar Rao


17114052, 17114030, 17114068
Objective 1: To draw SFD and BMD of SS beams in a given loading condition.

Code:

%SFD BMD of simply supported beam

%17114052_Raunaq_Purohit, 17114030_HeeraChand_Khutiyare, Sulara bhaskar


%rao_17114068
clc;
length=input('Enter length of beam = ');
Type=input('Enter type of loading(1: Conc. load ; 2: UDL) = ');
if Type==1
W=input('Conc. load in KN = ');
a=input('load at a distance = ');
b=length-a;
R1 = W*b/length;
R2 = W-R1;
else if Type==2
W=input('UDL = ');
R1=W*length/2;
R2=W*length/2;
else
fprintf('Invalid Type \n')
end
end

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

Output/ Command window


>> SS_beams
Enter length of beam =
10
Enter type of loading(1: Conc. load ; 2: UDL) = 1
Conc. load in KN =
10
load at a distance =
5
>> SS_beams
Enter length of beam =
10
Enter type of loading(1: Conc. load ; 2: UDL) = 2
UDL =
10
>> 2
10
Validation:
Objective 2: Design of simply-supported RCC Beam with UDL

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

% check for Ast_min


Ast_min = (0.85*b*d)/(0.87*fy)

% check for Ast_max


Ast_max = (0.04*b*D)

if (Ast > Ast_min && Ast < Ast_max)


disp('Hence ok')
end
Output/Command window
Mmax =

131.3379

xumax_d =

0.4791

MR = 145.7119

The section is safe Ast =

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:

%Cumulative Number of Standard Axle


%17114052_Raunaq_Purohit, 1 7 11 40 30 _HeeraCh an d_ Kh utiy are, Sulara bhaskar
%rao_17114068
clc; clear all;
D=input('lane distribution factors: ');
F=input('vehicle damage factor: ');
n=input('design life in years: ');
r=input('the annual growth rate of commercial vehicles: ');
P=input('the number of commercial vehicles as per last count: ' ); x=input('the number of years
between the last count and th e year of completion between the last count and the year of
completion of the project: '); A=P*(1+r/100)^x;
N=(365*((1+r/100)^(n)-1)).*A.*D.*F.*100/r;
fprintf('The cumulative number of standard axle (msa): %d',N)
Output/ Command window
lane distribution factors:
0.75
vehicle damage factor:
2.5
design life in years:
15
the annual growth rate of commercial vehicles:
7.5
the number of commercial vehicles as per last count:
400
the number of years between the last count and the year of
completion between the last count and the year of completion of
the project:
0
The cumulative number of standard axle (msa): 7.2
>>

You might also like