Documente Academic
Documente Profesional
Documente Cultură
The purpose of this exercise is to come up with a MATLAB code that will be able to analyze
loading conditions of a rigidly supported beam at both ends under uniform distributed load. The
program is theoretically written, using user-friendly graphics. In the method of analysis, the
differential equations for elastic beams are employed. All the equations used are provided in the
description part. The governing equations for bending of elastic beams are (Tian & Zhang,
2012).
𝑑4𝑦
𝐸𝐼 4 = 𝑤(𝑥)
𝑑𝑥
𝑑3𝑦
𝐸𝐼 3 = 𝑉(𝑥)
𝑑𝑥
𝑑2𝑦
𝐸𝐼 = 𝑀(𝑥)
𝑑𝑥 2
𝑑𝑢
= 𝜃(𝑥)
𝑑𝑥
𝑢 = 𝑢(𝑥)
Assumptions while using these equations are that the beam is perfectly elastic and that minimal
Distributed load;
𝑤𝑜
𝜃(𝑥) = (−5𝑥 4 + 6𝐿2 𝑥 2 − 𝐿4 )
120𝐸𝐼𝐿
𝑑𝜃 𝑤𝑜
= (−20𝑥 3 + 12𝐿2 𝑥)
𝑑𝑥 120𝐸𝐼𝐿
𝑑𝜃 𝑤𝑜 𝑀(𝑥)
= (−20𝑥 3 + 12𝐿2 𝑥) =
𝑑𝑥 120𝐸𝐼𝐿 𝐸𝐼
𝑤𝑜
𝑀(𝑥) = (−20𝑥 3 + 12𝐿2 𝑥)
120𝐿
𝑑𝑀 𝑤𝑜
= (−60𝑥 2 + 12𝐿2 )
𝑑𝑥 120𝐿
𝑑𝑀 𝑤𝑜
= (−60𝑥 2 + 12𝐿2 ) = 𝑉(𝑥)
𝑑𝑥 120𝐿
𝑑𝑉 𝑤𝑜
= (−120𝑥)
𝑑𝑥 120𝐿
𝑑𝑉 𝑤𝑜
= (−120𝑥) = −𝑤(𝑥)
𝑑𝑥 120𝐿
𝑑𝑦 𝑤𝑜
= (−5𝑥 4 + 6𝐿2 𝑥 2 + 𝐶1 )
𝑑𝑥 120𝐿
𝑤𝑜
𝑦= (−𝑥 5 + 2𝐿2 𝑥 3 + 𝐶1 𝑥 + 𝐶2 )
120𝐿
We get,
𝑤𝑜
0= (−0 + 2𝐿2 (0) + 𝐶1 (0) + 𝐶)
120𝐿
𝐶2 = 0
𝑤𝑜
0= (−35 + 33 2𝐿2 + 3𝐶1 )
120𝐿
𝐶1 = −81
Constants
I = 0.0003 m4
E = 200GPa
∆𝑥 = 0.125
w = 2500/0.01 N/m
L=3m
𝐶1 = −81
𝐶2 = 0
After obtaining all the necessary equations and constants, Taylor series was use to compute
Shear force, bending moment and bending deflection.A new value of the three outputs was
obtained each time x(index) was iterated to give different values over the length span of 3m in
increments of 0.125.
Results
From the Matlab program, the maximum deflection of the beam is -7.239262262980144e-03.
The various graphs plotted are; Shear force, bending moment and bending deflection are all
In conclusion, the results perfectly demonstrate realistic of how the beam would look like if
loaded under the above conditions. The results match a bam that is rigidly fixed at both ends, as
observed under the deflection graph which is zero at both ends. This indicates the program’s
precision. Therefore, an engineer can use this program to evaluate loading condition in a beam
for example during building of a bridge and also determine the maximum deflection that can be
Tian, J., & Zhang, Z. (2012). Maximum Bending Moment and Maximum Additional Bending
Moment for High Vertical Vessels under Wind Pressure. Applied Mechanics And
Horsburgh, E. (1911). Proof of a Fundamental Relation in the Theory of Bending between the
Bending Moment and Load Curves, or between the Deflection and Bending Moment
http://dx.doi.org/10.1017/s0013091500033976
Appendix
clc
clear
format long e
disp('Maximum deflection of beam is: ')
disp(min(y))