Falseposition
Falseposition
Introduction
1
SECTION 2
Formulation of the problem in numerical
sense
2
Figure 2.1: The point of maximum deflection versus iteration number.
After that we plotted the values of the relative approximate error versus
iteration number figure 2.2.
Figure 2.2: The values of the relative approximate error (RAE) versus iteration number.
3
After that we plotted displacement (y) versus distance (x) figure 2.3.
After that we plotted slope (theta(x)) versus distance (x) figure 2.4, from
this figure we can see the dy/dx on distance 268 cm at maximum
defliction= approximately zero.
4
After that we plotted Moment (M(x)) versus distance (x) figure 2.5.
After that we plotted Shear (V(x)) versus distance (x) figure 2.6.
5
After that we plotted Loading (w(x)) versus distance (x) figure 2.7.
6
for x=1:599
yall(x)=(w/(120*E*I*L))*(-x^5+2*(L^2)*(x^3)-(L^4)*x);
end
[ymax,I]=min(yall)
x=[1:599];
figure (1);
plot(yall,x,'--s','linewidth',2,'color',[1 0
0],'markerfaceColor','g','markersize',10);
xlabel 'displacement'
ylabel 'dictance'
shg
figure (2);
plot(ymax,I,'--s','linewidth',2,'color',[1 0
0],'markerfaceColor','g','markersize',10);
xlabel 'maximum deflection'
ylabel 'iteration number'
shg
z=[2:1000];
figure (3);
plot(Ea,z,'--s','linewidth',2,'color',[1 0
0],'markerfaceColor','g','markersize',10);
xlabel 'RAE'
ylabel 'iteration number'
shg
x=[1:599];
y=(w/(120*E*I*L))*(-(x.^5)+((2*(L^2))*(x.^3))-(L^4)*x);
theta=diff(y)./diff(x);
x=[1:598];
figure (4);
plot(theta,x,'--s','linewidth',2,'color',[1 0
0],'markerfaceColor','g','markersize',10);
xlabel 'slope'
ylabel 'dictance'
shg
moment=(diff(theta)./diff(x));
moment1=E*L*moment;
x=[1:597];
figure (5);
plot(moment1,x,'--s','linewidth',2,'color',[1 0
0],'markerfaceColor','g','markersize',10);
xlabel 'moment'
ylabel 'dictance'
shg
shear=(diff(moment)./diff(x));
shear1=E*L*shear;
x=[1:596];
figure (6);
plot(shear1,x,'--s','linewidth',2,'color',[1 0
0],'markerfaceColor','g','markersize',10);
xlabel 'shear'
ylabel 'dictance'
shg
loading=(diff(shear)./diff(x));
loading1=-E*L*loading;
x=[1:595];
figure (7);
7
plot(loading1,x,'--s','linewidth',2,'color',[1 0
0],'markerfaceColor','g','markersize',10);
xlabel 'loading'
ylabel 'dictance'
shg
8
SECTION 3
Results
9
SECTION 4
Conclusion
False position method was very good method to found the roots of
equations.
10
References
11