Professional Documents
Culture Documents
Sci-Lab Software Works: Used t0 Find Out SFD & BMD in Multiple Applied Points Loadings
Sci-Lab Software Works: Used t0 Find Out SFD & BMD in Multiple Applied Points Loadings
Sci-Lab Software Works: Used t0 Find Out SFD & BMD in Multiple Applied Points Loadings
Method#03
SF & BMD for lMultiple Points Loads(Performing TWO Point Loading).
1
x=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16];
disp(x);
a=det(x)
disp(a);
y=inv(x)
disp(y)
9.
13.166667
12.5
-2.5
54.
13.
9.
17.
2
Lab#04
Matrix Centext
--> x=1:1:4;1:1:4;1:1:4
ans =
1. 2. 3. 4.
--> x=[1:1:4;1:1:4;1:1:4]
x =
1. 2. 3. 4.
1. 2. 3. 4.
1. 2. 3. 4.
--> x'
ans =
1. 1. 1.
2. 2. 2.
3. 3. 3.
4. 4. 4.
--> x-x
ans =
0. 0. 0. 0.
0. 0. 0. 0.
0. 0. 0. 0.
3
--> x*x'
ans =
--> x
x =
1. 2. 3. 4.
1. 2. 3. 4.
1. 2. 3. 4.
--> x=[x;5:-1:2]
x =
1. 2. 3. 4.
1. 2. 3. 4.
1. 2. 3. 4.
5. 4. 3. 2.
--> x=[x;5:-1:2]
x =
1. 2. 3. 4.
1. 2. 3. 4.
1. 2. 3. 4.
5. 4. 3. 2.
5. 4. 3. 2.
4
Programme #05
\\To Draw SFD & BMD, Deflection & Slope of simple Beam Under UDL.//
clc;clear;
L=input(' Lenght of Beam(m)= ')
w=input(' UDL on Beam(Kn/m)= ')
b=input(' Width of Beam(m)= ')
h=input(' Depth of Beam(m)= ')
fcp=input(' fcprime(Mpa)= ')
I=b*h.^3/12;
E=4700*sqrt(fcp)*1000;
R1=w*L/2;
R2=R1
x=0:0.01:L;
V=R1-w*x;
M=R1*x-w*x.^2/2;
Yprime=((R1*x.^2/2-w*x.^3/6+w*L.^3/24-R1*L^2/6)/(E*I))
Y=((R1*x.^3/6-w*x.^4/24+w*L^3*x/24-R1*L^2*x/6)/(E*I))
subplot(411);
plot(x,V);
subplot(421);
plot(x,M);
subplot(412);
plot(x,Yprime);
subplot(422);
plot(x,Y);
5
6