SlideShare a Scribd company logo
1 of 6
Download to read offline
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 & volumesbasyirstar
 
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 integrationbasyirstar
 
Gauss Divergence Therom
Gauss Divergence TheromGauss Divergence Therom
Gauss Divergence TheromVC Infotech
 
Divergence theorem
Divergence theoremDivergence theorem
Divergence theoremFFMdeMul
 
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_perfilJunior Olivo Farrera
 
Divergence,curl,gradient
Divergence,curl,gradientDivergence,curl,gradient
Divergence,curl,gradientKunj 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 Linessmiller5
 
Loop alignment
Loop alignmentLoop alignment
Loop alignmentSumita Das
 
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, DFSKazi Emad
 

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
 
Matlab ploting
Matlab plotingMatlab ploting
Matlab plotingAmeen San
 
Bellman ford
Bellman fordBellman ford
Bellman fordKiran K
 
Intro to Matlab programming
Intro to Matlab programmingIntro to Matlab programming
Intro to Matlab programmingAhmed 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 Manualxoreq
 
INTRODUCTION TO MATLAB presentation.pptx
INTRODUCTION TO MATLAB presentation.pptxINTRODUCTION TO MATLAB presentation.pptx
INTRODUCTION TO MATLAB presentation.pptxDevaraj Chilakala
 
Magicness in Extended Duplicate Graphs
Magicness  in Extended Duplicate GraphsMagicness  in Extended Duplicate Graphs
Magicness in Extended Duplicate GraphsIRJET Journal
 
Capitulo 4, 7ma edición
Capitulo 4, 7ma ediciónCapitulo 4, 7ma edición
Capitulo 4, 7ma ediciónSohar 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.pptxAbanobGozef
 
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 modelsStephen Ong
 
Cgo2007 P3 3 Birkbeck
Cgo2007 P3 3 BirkbeckCgo2007 P3 3 Birkbeck
Cgo2007 P3 3 BirkbeckaiQUANT
 
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 MatlabaiQUANT
 
All pairs shortest path algorithm
All pairs shortest path algorithmAll pairs shortest path algorithm
All pairs shortest path algorithmSrikrishnan Suresh
 
線形回帰モデル
線形回帰モデル線形回帰モデル
線形回帰モデル貴之 八木
 

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
 
Cgo2007 P3 3 Birkbeck
Cgo2007 P3 3 BirkbeckCgo2007 P3 3 Birkbeck
Cgo2007 P3 3 Birkbeck
 
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
 
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
 
線形回帰モデル
線形回帰モデル線形回帰モデル
線形回帰モデル
 

More from Ashok Mannava

Sole_Proprietorship_Presentation.pptx
Sole_Proprietorship_Presentation.pptxSole_Proprietorship_Presentation.pptx
Sole_Proprietorship_Presentation.pptxAshok 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.pptxAshok Mannava
 
Cell_Manufacturing.ppt
Cell_Manufacturing.pptCell_Manufacturing.ppt
Cell_Manufacturing.pptAshok Mannava
 
Computer assisted part programming.pdf
Computer assisted part programming.pdfComputer assisted part programming.pdf
Computer assisted part programming.pdfAshok Mannava
 
Group Technology Basics.ppt
Group Technology Basics.pptGroup Technology Basics.ppt
Group Technology Basics.pptAshok Mannava
 
443439858 the-mesopotamian-civiliation-ppt
443439858 the-mesopotamian-civiliation-ppt443439858 the-mesopotamian-civiliation-ppt
443439858 the-mesopotamian-civiliation-pptAshok Mannava
 
Agriculture chapter 10
Agriculture chapter 10Agriculture chapter 10
Agriculture chapter 10Ashok Mannava
 
Agricultural revolution
Agricultural revolutionAgricultural revolution
Agricultural revolutionAshok 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-pptAshok Mannava
 
168 w1a0352 intern ppt
168 w1a0352 intern ppt168 w1a0352 intern ppt
168 w1a0352 intern pptAshok 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

Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 

Recently uploaded (20)

Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 

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