Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

beam is subjected to a linearly increasing distributed load. The elastic curve (

ID: 1714025 • Letter: B

Question

beam is subjected to a linearly increasing distributed load. The elastic curve (deflection) is shown in the figure. The equation to find the maximum deflection is given below. Create a matlab where you can calculate the maximum deflection (dy/dx-0) using the bisection method. Use initial guesses of 0 and 7, L-65 m. E-94000 kN/cm2·1-30000 cm4, and w0. 2.5 kN/cm. will be the value of x (location of maximum deflection) after 9 bisection iteration? 20EIL 2.6148 2.9053 1.4527 14.358. SubmitI Attempts

Explanation / Answer

clc

clear

L = 650;

E = 94000;

I = 30000;

w0 = 2.5;

c = w0/(120*E*I*L);

%y = c*(-x^5+2*L^2*x^3-L^4*x) ---given function y

%y' = c*(-5*x^4+6*L^2*x^2-L^4)--- dy/dx

x_l = 0;

x_u = L;

E = x_u-x_l;

while E > 10^(-3)

x_m = (x_l+x_u)/2;

if(c*(-5*x_l^4+6*(L^2)*x_l^2-L^4))*(c*(-5*x_m^4+6*(L^2)*x_m^2-L^4)) < 0

x_u = x_m;

else

x_l = x_m;

end

E = x_u-x_l;

end

E = x_u-x_l;

end

x = x_m;

y = c*(-x^5+2*L^2*x^3-L^4*x);

a = sprintf('maximum deflection is at x = %3.3f cm ',x);

disp(a);

b = sprintf('the value of maximum deflection is y = %3.3f cm',y);

disp(b);