A 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 Python code to calculate the maximum deflection (i.e., dy/dx=0) using the bisection method. Use xL-1, xU-5, L = 6.6 m, E = 58000 kN/cm2, I-40000 cm4, and w0=2.5 kN/cm. What will be the value of x (i.e., the location of maximum deflection) after 8 bisection iteration? y = dy dr wo 120EIL (³+2L²³ - L^x) wo -(-5x4 +6L²x² - LA) 120EIL = 2.6578 2.9531 1.4766 4.4297 Submit ** (x = 0, y = 0) **** (a) (b) (x = Ly=0)
A 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 Python code to calculate the maximum deflection (i.e., dy/dx=0) using the bisection method. Use xL-1, xU-5, L = 6.6 m, E = 58000 kN/cm2, I-40000 cm4, and w0=2.5 kN/cm. What will be the value of x (i.e., the location of maximum deflection) after 8 bisection iteration? y = dy dr wo 120EIL (³+2L²³ - L^x) wo -(-5x4 +6L²x² - LA) 120EIL = 2.6578 2.9531 1.4766 4.4297 Submit ** (x = 0, y = 0) **** (a) (b) (x = Ly=0)
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Expert Solution
Step 1
clc
clear all
% constants
L = 6.02;
E = 58000;
I = 30000;
w0 = 2.5;
% function dy/dx
f =@(x) w0/120/E/I/L *(-5*x^4 + 6*(L*x)^2 - L^4);
iter = 0; % no of iteration
% Initial guess
x1 = 1;
x2 = 4;
n = 8; % Total no of iteration to be done
while iter < n
c = (x1 + x2)/2; % bisection
if(f(c)*f(x1) > 0) % if f(c) and f(x1) are of same sign
x1 = c;
else
x2 = c;
end
iter = iter + 1; % increment no of iteration by 1
end
fprintf('\nAfter 8 bisection iteration\nLocation of maximum deflection x = %0.4f\n',c);
Step by step
Solved in 2 steps
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY