SlideShare a Scribd company logo
MATLAB Code for drawing SF,BM,slope and deflection diagrams :
𝑅𝑒𝑐𝑎𝑡𝑖𝑜𝑛 𝑓𝑜𝑟𝑐𝑒 𝑎𝑡 𝐴 = 𝑅 =
𝑤𝐿
6
;
𝑅𝑒𝑐𝑎𝑡𝑖𝑜𝑛 𝑓𝑜𝑟𝑐𝑒 𝑎𝑡 𝐵 = 𝑅 =
𝑤𝐿
3
𝐶𝑜𝑛𝑠𝑖𝑑𝑒𝑟 𝑜𝑛𝑙𝑦 𝑙𝑒𝑓𝑡 𝑠𝑖𝑑𝑒 𝑝𝑎𝑟𝑡 𝑜𝑓 𝑠𝑒𝑐𝑡𝑖𝑜𝑛 𝑿 − 𝑿
𝑡𝑎𝑘𝑒 𝑚𝑜𝑚𝑒𝑛𝑡 𝑤𝑖𝑡ℎ 𝑟𝑒𝑠𝑝𝑒𝑐𝑡 𝑡𝑜 𝑠𝑒𝑐𝑡𝑖𝑜𝑛 𝑿 − 𝑿
𝑴(𝒙) = 𝑹𝑨𝒙 −
𝒘𝒙𝟑
𝟔𝑳
𝒇𝒐𝒓 𝟎 ≤ 𝒙 ≤ 𝑳
𝐸𝐼
𝑑 𝑦
𝑑𝑥
= 𝑀(𝑥)
𝑠𝑙𝑜𝑝𝑒(𝑥) =
𝑑𝑦
𝑑𝑥
=
1
𝐸𝐼
𝑀(𝑥)
𝑑𝑒𝑓𝑙𝑒𝑐𝑡𝑖𝑜𝑛(𝑥) = 𝑦(𝑥) =
1
𝐸𝐼
𝑀(𝑥)
𝐶𝑜𝑛𝑑𝑖𝑡𝑖𝑜𝑛𝑠 𝑡𝑜 𝑒𝑣𝑎𝑙𝑢𝑎𝑡𝑒 𝑐𝑜𝑛𝑡𝑎𝑛𝑡𝑠 𝑑𝑢𝑟𝑖𝑛𝑔 𝑖𝑛𝑡𝑒𝑔𝑟𝑎𝑡𝑖𝑜𝑛
𝑎𝑡 𝑥 = 0 , 𝑦 = 0 ; 𝑎𝑡 𝑥 = 𝐿, 𝑦 = 0;
Example
E=2*(10^11);
I=10^(-4);
w is UDL intensity in N/mm
w=5000;
L=5;
MATLAB code for simply supported beam with point load ‘W’ at a distance ‘a’ from extreme left side of beam
(a) To draw Shear Force, Bending Moment, slope and deflection diagrams
(b)To find out location of maximum deflection and its value
Input parameters:
E=Youngs Modulus or Modulus of elasticity in Pascals or N/m2
I=Area moment of inertia in m4
L=Length of beam in meters
w=Intensity of point load w in N/m
Example:
E=2*(10^11);
I=10^(-4);
w=5000;
L=5;
MATLAB code:
%simply supported beam with UVL uniformly varying load
clear all;
clc;
E=input('Youngs Modulus or Modulus of elasticity in Pascals n E=');
I=input('Area moment of inertia in m^4n I=');
L=input('Length of beam in meters n L=');
w=input('Intensity of point load w in N/m n w=');
Ra=(w*L/6);
Rb=(0.5*w*L)-Ra;
syms x M(x);
syms C1 C2 C3;
syms slope(x);
M(x)=(Ra*x)-((w*(x)^3)/(6*L));
%first section
format long;
SF(x)=diff(M(x),x);
deflection(x,C2,C3)=((int(int(M(x),x),x))+(C2*x)+C3)/(E*I);
D1y(x,C2,C3)=diff(deflection,x);
eq2 =deflection(0,C2,C3) == 0;
eq3 =deflection(L,C2,C3) == 0;
[aa,bb]= vpasolve([eq2,eq3],[C2,C3]);
C2=eval(aa);
C3=eval(bb);
deflection(x)=deflection(x,C2,C3);
slope(x)=diff(deflection(x),x);
X=0:0.1:L;
figure
area(X,double(SF(X)))
ylabel('Shear Force in N');
xlabel('Location on beam from extreme left along length in m');
figure
area(X,double(M(X)))
ylabel('Bending Moment in N-m');
xlabel('Location on beam from extreme left along length in m');
figure
area(X,double(slope(X)))
ylabel('Slope of bend curvature of beam');
xlabel('Location on beam from extreme left along length in m');
figure
plot(X,double(deflection(X)))
ylabel('Deflection in m');
xlabel('Location on beam from extreme left along length in m');
% Maximum Bending Moment
BM_max_loc=vpasolve(diff(M(x),x)==0,x,[0,L]);
BM_max_loc=eval(BM_max_loc);
max_BM=double(M(BM_max_loc));
fprintf('Maximum BM is at %f m from extreme left side of beam n',BM_max_loc);
fprintf('Maximum BM is %f N-m n',max_BM);
% Maximum deflection
Def_max_loc=vpasolve(diff(deflection(x),x)==0,x,[0,L]);
Def_max_loc=eval(Def_max_loc);
max_def=double(deflection(Def_max_loc));
fprintf('Maximum deflection is at %f m from extreme left side of beam n',Def_max_loc);
fprintf('Maximum deflection is %f m n',max_def);
OUTPUT
Shear
Force
in
N
Bending
Moment
in
N-m
Maximum BM is at 2.886751 m from extreme left side of beam
Maximum BM is 8018.753739 N-m
Maximum deflection is at 2.596648 m from extreme left side of beam
Maximum deflection is -0.001019 m
Slope
of
bend
curvature
of
beam
Deflection
in
m

More Related Content

What's hot

Area Under the Curve
Area Under the CurveArea Under the Curve
Area Under the Curvealexbeja
 
Benginning Calculus Lecture notes 14 - areas & volumes
Benginning Calculus Lecture notes 14 - areas & volumesBenginning Calculus Lecture notes 14 - areas & volumes
Benginning Calculus Lecture notes 14 - areas & volumes
basyirstar
 
Derivatives and slope 2.1 update day1
Derivatives and slope 2.1 update day1Derivatives and slope 2.1 update day1
Derivatives and slope 2.1 update day1Lorie Blickhan
 
Benginning Calculus Lecture notes 15 - techniques of integration
Benginning Calculus Lecture notes 15 - techniques of integrationBenginning Calculus Lecture notes 15 - techniques of integration
Benginning Calculus Lecture notes 15 - techniques of integration
basyirstar
 
Gauss Divergence Therom
Gauss Divergence TheromGauss Divergence Therom
Gauss Divergence Therom
VC Infotech
 
Divergence theorem
Divergence theoremDivergence theorem
Divergence theorem
FFMdeMul
 
Num Integration
Num IntegrationNum Integration
Num Integrationmuhdisys
 
Calcular modulo de_seccion_de_un_perfil
Calcular modulo de_seccion_de_un_perfilCalcular modulo de_seccion_de_un_perfil
Calcular modulo de_seccion_de_un_perfil
Junior Olivo Farrera
 
Pre-Cal 40S March 1, 2009
Pre-Cal 40S March 1, 2009Pre-Cal 40S March 1, 2009
Pre-Cal 40S March 1, 2009
Darren Kuropatwa
 
Divergence,curl,gradient
Divergence,curl,gradientDivergence,curl,gradient
Divergence,curl,gradient
Kunj Patel
 
1.4.3 Slopes and Equations of Lines
1.4.3 Slopes and Equations of Lines1.4.3 Slopes and Equations of Lines
1.4.3 Slopes and Equations of Lines
smiller5
 
Triangulaciones irreducibles en el toro perforado
Triangulaciones irreducibles en el toro perforadoTriangulaciones irreducibles en el toro perforado
Triangulaciones irreducibles en el toro perforado
José Ramón Portillo Fernández
 
Loop alignment
Loop alignmentLoop alignment
Loop alignment
Sumita Das
 
Divergence
DivergenceDivergence
Divergence
Shakir Memon
 
Dijkstra Algo, BFS, Bellman–Ford Algo, DFS
Dijkstra Algo, BFS, Bellman–Ford Algo, DFSDijkstra Algo, BFS, Bellman–Ford Algo, DFS
Dijkstra Algo, BFS, Bellman–Ford Algo, DFS
Kazi Emad
 
Inverse trignometry
Inverse trignometryInverse trignometry
Inverse trignometry
Umang Lakhera
 

What's hot (18)

Area Under the Curve
Area Under the CurveArea Under the Curve
Area Under the Curve
 
Benginning Calculus Lecture notes 14 - areas & volumes
Benginning Calculus Lecture notes 14 - areas & volumesBenginning Calculus Lecture notes 14 - areas & volumes
Benginning Calculus Lecture notes 14 - areas & volumes
 
Derivatives and slope 2.1 update day1
Derivatives and slope 2.1 update day1Derivatives and slope 2.1 update day1
Derivatives and slope 2.1 update day1
 
Benginning Calculus Lecture notes 15 - techniques of integration
Benginning Calculus Lecture notes 15 - techniques of integrationBenginning Calculus Lecture notes 15 - techniques of integration
Benginning Calculus Lecture notes 15 - techniques of integration
 
Surfaces
SurfacesSurfaces
Surfaces
 
Gauss Divergence Therom
Gauss Divergence TheromGauss Divergence Therom
Gauss Divergence Therom
 
Divergence theorem
Divergence theoremDivergence theorem
Divergence theorem
 
Num Integration
Num IntegrationNum Integration
Num Integration
 
Copy of stub setting 3
Copy of stub setting 3Copy of stub setting 3
Copy of stub setting 3
 
Calcular modulo de_seccion_de_un_perfil
Calcular modulo de_seccion_de_un_perfilCalcular modulo de_seccion_de_un_perfil
Calcular modulo de_seccion_de_un_perfil
 
Pre-Cal 40S March 1, 2009
Pre-Cal 40S March 1, 2009Pre-Cal 40S March 1, 2009
Pre-Cal 40S March 1, 2009
 
Divergence,curl,gradient
Divergence,curl,gradientDivergence,curl,gradient
Divergence,curl,gradient
 
1.4.3 Slopes and Equations of Lines
1.4.3 Slopes and Equations of Lines1.4.3 Slopes and Equations of Lines
1.4.3 Slopes and Equations of Lines
 
Triangulaciones irreducibles en el toro perforado
Triangulaciones irreducibles en el toro perforadoTriangulaciones irreducibles en el toro perforado
Triangulaciones irreducibles en el toro perforado
 
Loop alignment
Loop alignmentLoop alignment
Loop alignment
 
Divergence
DivergenceDivergence
Divergence
 
Dijkstra Algo, BFS, Bellman–Ford Algo, DFS
Dijkstra Algo, BFS, Bellman–Ford Algo, DFSDijkstra Algo, BFS, Bellman–Ford Algo, DFS
Dijkstra Algo, BFS, Bellman–Ford Algo, DFS
 
Inverse trignometry
Inverse trignometryInverse trignometry
Inverse trignometry
 

Similar to Uvl simplysupported beam

Fourier series example
Fourier series exampleFourier series example
Fourier series exampleAbi finni
 
Optimisation random graph presentation
Optimisation random graph presentationOptimisation random graph presentation
Optimisation random graph presentation
Venkat Sai Sharath Mudhigonda
 
Matlab ploting
Matlab plotingMatlab ploting
Matlab ploting
Ameen San
 
Bellman ford
Bellman fordBellman ford
Bellman ford
Kiran K
 
Intro to Matlab programming
Intro to Matlab programmingIntro to Matlab programming
Intro to Matlab programming
Ahmed Moawad
 
Engineering Electromagnetics 8th Edition Hayt Solutions Manual
Engineering Electromagnetics 8th Edition Hayt Solutions ManualEngineering Electromagnetics 8th Edition Hayt Solutions Manual
Engineering Electromagnetics 8th Edition Hayt Solutions Manual
xoreq
 
INTRODUCTION TO MATLAB presentation.pptx
INTRODUCTION TO MATLAB presentation.pptxINTRODUCTION TO MATLAB presentation.pptx
INTRODUCTION TO MATLAB presentation.pptx
Devaraj Chilakala
 
Magicness in Extended Duplicate Graphs
Magicness  in Extended Duplicate GraphsMagicness  in Extended Duplicate Graphs
Magicness in Extended Duplicate Graphs
IRJET Journal
 
Section4 stochastic
Section4 stochasticSection4 stochastic
Section4 stochastic
cairo university
 
Capitulo 4, 7ma edición
Capitulo 4, 7ma ediciónCapitulo 4, 7ma edición
Capitulo 4, 7ma edición
Sohar Carr
 
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
Petroleum Training Institute
 
Matlab level 1.pptx
Matlab level 1.pptxMatlab level 1.pptx
Matlab level 1.pptx
AbanobGozef
 
Bba 3274 qm week 6 part 1 regression models
Bba 3274 qm week 6 part 1 regression modelsBba 3274 qm week 6 part 1 regression models
Bba 3274 qm week 6 part 1 regression models
Stephen Ong
 
A Dimension Abstraction Approach to Vectorization in Matlab
A Dimension Abstraction Approach to Vectorization in MatlabA Dimension Abstraction Approach to Vectorization in Matlab
A Dimension Abstraction Approach to Vectorization in Matlab
aiQUANT
 
Cgo2007 P3 3 Birkbeck
Cgo2007 P3 3 BirkbeckCgo2007 P3 3 Birkbeck
Cgo2007 P3 3 Birkbeck
aiQUANT
 
All pairs shortest path algorithm
All pairs shortest path algorithmAll pairs shortest path algorithm
All pairs shortest path algorithmSrikrishnan Suresh
 
matlab.docx
matlab.docxmatlab.docx
MATHS SYMBOLS.pdf
MATHS SYMBOLS.pdfMATHS SYMBOLS.pdf
MATHS SYMBOLS.pdf
Brijesh Sharma
 
MATHLECT1LECTUREFFFFFFFFFFFFFFFFFFHJ.pdf
MATHLECT1LECTUREFFFFFFFFFFFFFFFFFFHJ.pdfMATHLECT1LECTUREFFFFFFFFFFFFFFFFFFHJ.pdf
MATHLECT1LECTUREFFFFFFFFFFFFFFFFFFHJ.pdf
HebaEng
 

Similar to Uvl simplysupported beam (20)

Fourier series example
Fourier series exampleFourier series example
Fourier series example
 
Optimisation random graph presentation
Optimisation random graph presentationOptimisation random graph presentation
Optimisation random graph presentation
 
Matlab ploting
Matlab plotingMatlab ploting
Matlab ploting
 
Bellman ford
Bellman fordBellman ford
Bellman ford
 
Intro to Matlab programming
Intro to Matlab programmingIntro to Matlab programming
Intro to Matlab programming
 
Engineering Electromagnetics 8th Edition Hayt Solutions Manual
Engineering Electromagnetics 8th Edition Hayt Solutions ManualEngineering Electromagnetics 8th Edition Hayt Solutions Manual
Engineering Electromagnetics 8th Edition Hayt Solutions Manual
 
Line circle draw
Line circle drawLine circle draw
Line circle draw
 
INTRODUCTION TO MATLAB presentation.pptx
INTRODUCTION TO MATLAB presentation.pptxINTRODUCTION TO MATLAB presentation.pptx
INTRODUCTION TO MATLAB presentation.pptx
 
Magicness in Extended Duplicate Graphs
Magicness  in Extended Duplicate GraphsMagicness  in Extended Duplicate Graphs
Magicness in Extended Duplicate Graphs
 
Section4 stochastic
Section4 stochasticSection4 stochastic
Section4 stochastic
 
Capitulo 4, 7ma edición
Capitulo 4, 7ma ediciónCapitulo 4, 7ma edición
Capitulo 4, 7ma edición
 
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
 
Matlab level 1.pptx
Matlab level 1.pptxMatlab level 1.pptx
Matlab level 1.pptx
 
Bba 3274 qm week 6 part 1 regression models
Bba 3274 qm week 6 part 1 regression modelsBba 3274 qm week 6 part 1 regression models
Bba 3274 qm week 6 part 1 regression models
 
A Dimension Abstraction Approach to Vectorization in Matlab
A Dimension Abstraction Approach to Vectorization in MatlabA Dimension Abstraction Approach to Vectorization in Matlab
A Dimension Abstraction Approach to Vectorization in Matlab
 
Cgo2007 P3 3 Birkbeck
Cgo2007 P3 3 BirkbeckCgo2007 P3 3 Birkbeck
Cgo2007 P3 3 Birkbeck
 
All pairs shortest path algorithm
All pairs shortest path algorithmAll pairs shortest path algorithm
All pairs shortest path algorithm
 
matlab.docx
matlab.docxmatlab.docx
matlab.docx
 
MATHS SYMBOLS.pdf
MATHS SYMBOLS.pdfMATHS SYMBOLS.pdf
MATHS SYMBOLS.pdf
 
MATHLECT1LECTUREFFFFFFFFFFFFFFFFFFHJ.pdf
MATHLECT1LECTUREFFFFFFFFFFFFFFFFFFHJ.pdfMATHLECT1LECTUREFFFFFFFFFFFFFFFFFFHJ.pdf
MATHLECT1LECTUREFFFFFFFFFFFFFFFFFFHJ.pdf
 

More from Ashok Mannava

Sole_Proprietorship_Presentation.pptx
Sole_Proprietorship_Presentation.pptxSole_Proprietorship_Presentation.pptx
Sole_Proprietorship_Presentation.pptx
Ashok Mannava
 
Model QP (1).docx
Model QP (1).docxModel QP (1).docx
Model QP (1).docx
Ashok Mannava
 
notes_9 Lec PP and CAPP.pptx
notes_9 Lec PP and CAPP.pptxnotes_9 Lec PP and CAPP.pptx
notes_9 Lec PP and CAPP.pptx
Ashok Mannava
 
Cell_Manufacturing.ppt
Cell_Manufacturing.pptCell_Manufacturing.ppt
Cell_Manufacturing.ppt
Ashok Mannava
 
Computer assisted part programming.pdf
Computer assisted part programming.pdfComputer assisted part programming.pdf
Computer assisted part programming.pdf
Ashok Mannava
 
Group Technology Basics.ppt
Group Technology Basics.pptGroup Technology Basics.ppt
Group Technology Basics.ppt
Ashok Mannava
 
443439858 the-mesopotamian-civiliation-ppt
443439858 the-mesopotamian-civiliation-ppt443439858 the-mesopotamian-civiliation-ppt
443439858 the-mesopotamian-civiliation-ppt
Ashok Mannava
 
What is technology
What is technologyWhat is technology
What is technology
Ashok Mannava
 
Auto cad material
Auto cad materialAuto cad material
Auto cad material
Ashok Mannava
 
Agriculture chapter 10
Agriculture chapter 10Agriculture chapter 10
Agriculture chapter 10
Ashok Mannava
 
Agricultural revolution
Agricultural revolutionAgricultural revolution
Agricultural revolution
Ashok Mannava
 
77102350 7-8-cutting-tool-materials-complete-ppt
77102350 7-8-cutting-tool-materials-complete-ppt77102350 7-8-cutting-tool-materials-complete-ppt
77102350 7-8-cutting-tool-materials-complete-ppt
Ashok Mannava
 
168 w1a0352 intern ppt
168 w1a0352 intern ppt168 w1a0352 intern ppt
168 w1a0352 intern ppt
Ashok Mannava
 

More from Ashok Mannava (20)

Sole_Proprietorship_Presentation.pptx
Sole_Proprietorship_Presentation.pptxSole_Proprietorship_Presentation.pptx
Sole_Proprietorship_Presentation.pptx
 
Model QP (1).docx
Model QP (1).docxModel QP (1).docx
Model QP (1).docx
 
notes_9 Lec PP and CAPP.pptx
notes_9 Lec PP and CAPP.pptxnotes_9 Lec PP and CAPP.pptx
notes_9 Lec PP and CAPP.pptx
 
Cell_Manufacturing.ppt
Cell_Manufacturing.pptCell_Manufacturing.ppt
Cell_Manufacturing.ppt
 
Computer assisted part programming.pdf
Computer assisted part programming.pdfComputer assisted part programming.pdf
Computer assisted part programming.pdf
 
Group Technology Basics.ppt
Group Technology Basics.pptGroup Technology Basics.ppt
Group Technology Basics.ppt
 
Ie550nc
Ie550ncIe550nc
Ie550nc
 
443439858 the-mesopotamian-civiliation-ppt
443439858 the-mesopotamian-civiliation-ppt443439858 the-mesopotamian-civiliation-ppt
443439858 the-mesopotamian-civiliation-ppt
 
What is technology
What is technologyWhat is technology
What is technology
 
Transducer
TransducerTransducer
Transducer
 
Cmm
CmmCmm
Cmm
 
Capacitance
CapacitanceCapacitance
Capacitance
 
Auto cad material
Auto cad materialAuto cad material
Auto cad material
 
L5 2018 09_17
L5 2018 09_17L5 2018 09_17
L5 2018 09_17
 
Agriculture chapter 10
Agriculture chapter 10Agriculture chapter 10
Agriculture chapter 10
 
Agricultural revolution
Agricultural revolutionAgricultural revolution
Agricultural revolution
 
77102350 7-8-cutting-tool-materials-complete-ppt
77102350 7-8-cutting-tool-materials-complete-ppt77102350 7-8-cutting-tool-materials-complete-ppt
77102350 7-8-cutting-tool-materials-complete-ppt
 
Compressor final
Compressor finalCompressor final
Compressor final
 
Dht
DhtDht
Dht
 
168 w1a0352 intern ppt
168 w1a0352 intern ppt168 w1a0352 intern ppt
168 w1a0352 intern ppt
 

Recently uploaded

Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
Kamal Acharya
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
DuvanRamosGarzon1
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
ssuser9bd3ba
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 

Recently uploaded (20)

Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 

Uvl simplysupported beam

  • 1. MATLAB Code for drawing SF,BM,slope and deflection diagrams :
  • 2. 𝑅𝑒𝑐𝑎𝑡𝑖𝑜𝑛 𝑓𝑜𝑟𝑐𝑒 𝑎𝑡 𝐴 = 𝑅 = 𝑤𝐿 6 ; 𝑅𝑒𝑐𝑎𝑡𝑖𝑜𝑛 𝑓𝑜𝑟𝑐𝑒 𝑎𝑡 𝐵 = 𝑅 = 𝑤𝐿 3 𝐶𝑜𝑛𝑠𝑖𝑑𝑒𝑟 𝑜𝑛𝑙𝑦 𝑙𝑒𝑓𝑡 𝑠𝑖𝑑𝑒 𝑝𝑎𝑟𝑡 𝑜𝑓 𝑠𝑒𝑐𝑡𝑖𝑜𝑛 𝑿 − 𝑿 𝑡𝑎𝑘𝑒 𝑚𝑜𝑚𝑒𝑛𝑡 𝑤𝑖𝑡ℎ 𝑟𝑒𝑠𝑝𝑒𝑐𝑡 𝑡𝑜 𝑠𝑒𝑐𝑡𝑖𝑜𝑛 𝑿 − 𝑿 𝑴(𝒙) = 𝑹𝑨𝒙 − 𝒘𝒙𝟑 𝟔𝑳 𝒇𝒐𝒓 𝟎 ≤ 𝒙 ≤ 𝑳 𝐸𝐼 𝑑 𝑦 𝑑𝑥 = 𝑀(𝑥) 𝑠𝑙𝑜𝑝𝑒(𝑥) = 𝑑𝑦 𝑑𝑥 = 1 𝐸𝐼 𝑀(𝑥) 𝑑𝑒𝑓𝑙𝑒𝑐𝑡𝑖𝑜𝑛(𝑥) = 𝑦(𝑥) = 1 𝐸𝐼 𝑀(𝑥) 𝐶𝑜𝑛𝑑𝑖𝑡𝑖𝑜𝑛𝑠 𝑡𝑜 𝑒𝑣𝑎𝑙𝑢𝑎𝑡𝑒 𝑐𝑜𝑛𝑡𝑎𝑛𝑡𝑠 𝑑𝑢𝑟𝑖𝑛𝑔 𝑖𝑛𝑡𝑒𝑔𝑟𝑎𝑡𝑖𝑜𝑛 𝑎𝑡 𝑥 = 0 , 𝑦 = 0 ; 𝑎𝑡 𝑥 = 𝐿, 𝑦 = 0; Example E=2*(10^11); I=10^(-4); w is UDL intensity in N/mm w=5000; L=5;
  • 3. MATLAB code for simply supported beam with point load ‘W’ at a distance ‘a’ from extreme left side of beam (a) To draw Shear Force, Bending Moment, slope and deflection diagrams (b)To find out location of maximum deflection and its value Input parameters: E=Youngs Modulus or Modulus of elasticity in Pascals or N/m2 I=Area moment of inertia in m4 L=Length of beam in meters w=Intensity of point load w in N/m Example: E=2*(10^11); I=10^(-4); w=5000; L=5; MATLAB code: %simply supported beam with UVL uniformly varying load clear all; clc; E=input('Youngs Modulus or Modulus of elasticity in Pascals n E='); I=input('Area moment of inertia in m^4n I='); L=input('Length of beam in meters n L='); w=input('Intensity of point load w in N/m n w='); Ra=(w*L/6); Rb=(0.5*w*L)-Ra; syms x M(x); syms C1 C2 C3; syms slope(x); M(x)=(Ra*x)-((w*(x)^3)/(6*L));
  • 4. %first section format long; SF(x)=diff(M(x),x); deflection(x,C2,C3)=((int(int(M(x),x),x))+(C2*x)+C3)/(E*I); D1y(x,C2,C3)=diff(deflection,x); eq2 =deflection(0,C2,C3) == 0; eq3 =deflection(L,C2,C3) == 0; [aa,bb]= vpasolve([eq2,eq3],[C2,C3]); C2=eval(aa); C3=eval(bb); deflection(x)=deflection(x,C2,C3); slope(x)=diff(deflection(x),x); X=0:0.1:L; figure area(X,double(SF(X))) ylabel('Shear Force in N'); xlabel('Location on beam from extreme left along length in m'); figure area(X,double(M(X))) ylabel('Bending Moment in N-m'); xlabel('Location on beam from extreme left along length in m'); figure area(X,double(slope(X))) ylabel('Slope of bend curvature of beam'); xlabel('Location on beam from extreme left along length in m'); figure plot(X,double(deflection(X))) ylabel('Deflection in m'); xlabel('Location on beam from extreme left along length in m'); % Maximum Bending Moment BM_max_loc=vpasolve(diff(M(x),x)==0,x,[0,L]); BM_max_loc=eval(BM_max_loc); max_BM=double(M(BM_max_loc)); fprintf('Maximum BM is at %f m from extreme left side of beam n',BM_max_loc); fprintf('Maximum BM is %f N-m n',max_BM); % Maximum deflection Def_max_loc=vpasolve(diff(deflection(x),x)==0,x,[0,L]); Def_max_loc=eval(Def_max_loc); max_def=double(deflection(Def_max_loc)); fprintf('Maximum deflection is at %f m from extreme left side of beam n',Def_max_loc); fprintf('Maximum deflection is %f m n',max_def);
  • 6. Maximum BM is at 2.886751 m from extreme left side of beam Maximum BM is 8018.753739 N-m Maximum deflection is at 2.596648 m from extreme left side of beam Maximum deflection is -0.001019 m Slope of bend curvature of beam Deflection in m