Sci-Lab Software Works: Used t0 Find Out SFD & BMD in Multiple Applied Points Loadings

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

Sci-Lab Software Works

Method#01=Performed context in a single Sentence


McCauley Theorem: Used t0 find out SFD & BMD in Multiple applied Points Loadings

Compiling Centex Data


Lab Date=18-03-2019,
Week#04
p=8;
a=3;
b=4;
L=a+b;
x=0:0.11:L;
R1=p*b/L;
V=R1-p*max(x-a,0)./(x-a);
M=R1*x-p*max(x-a,0);
subplot(211);
plot(x,V);
subplot(212);
plot(x,M);
Vmax=max(V);
Mmax=max(M);
disp(Vmax);
disp(Mmax);

Method#02= McCauley Theorem. Multiple Points Loads(Performing In One Sentence


McCauley Theorem: Used t0 find out SFD & BMD in Multiple applied Points Loadings

Compiling Centex Data


a=3
b=4
L=a+b
p=8
R1=p*b/L
x1=0:0.1:a;x2=a:0.1:L;x=[0,x1,x2,L,0]
V1=R1+x1-x1;V2=R1-p+x2-x2;V=[0,V1,V2,0,0];
plot(x,V)

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)

Method#05 Matrix Problem Practice In lab


Centex
A=[2,3,-4,1;1,-3,2,-5;0,3,-3,4;4,0,-3,3]
B=[5;7;-8;-9]
X=inv(A)*B
disp(X)
Y=A*B
disp(Y)
Answer:

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 =

30. 30. 30.


30. 30. 30.
30. 30. 30.

--> 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

You might also like