Answered step by step
Verified Expert Solution
Question
1 Approved Answer
MATLAB The following differential equation results from a force balance for a beam with a uniform loading, 0= EI dx 2 where x-distance along the
MATLAB
The following differential equation results from a force balance for a beam with a uniform loading, 0= EI dx 2 where x-distance along the beam (m), y = deflection (m), L = length (m), E= modulus of elasticity (N/m2), moment of inertia (m4), and w= uniform load (N/m). (a) Convert this differential equation to an equivalent system of simultaneous algebraic equations using a centereddifference approximation for the second derivative. (b) Develop a function to soive these equations from x s0 to Land return the resulting distances and deflections. The first line of your function should be function [x, y] = YourLastName, beam (E, I, w, yo, yL, L, dx) (c) Develop a script that invokes this function and then plots the results. (d) Test your script for the following parameters: L = 3 m, : 0.2 m, E-250 x 109 N/m2, 10-4 m4, w= 22,500 Nm, y(0) = 0, and y(3) = 0. 3 x The following differential equation results from a force balance for a beam with a uniform loading, 0= EI dx 2 where x-distance along the beam (m), y = deflection (m), L = length (m), E= modulus of elasticity (N/m2), moment of inertia (m4), and w= uniform load (N/m). (a) Convert this differential equation to an equivalent system of simultaneous algebraic equations using a centereddifference approximation for the second derivative. (b) Develop a function to soive these equations from x s0 to Land return the resulting distances and deflections. The first line of your function should be function [x, y] = YourLastName, beam (E, I, w, yo, yL, L, dx) (c) Develop a script that invokes this function and then plots the results. (d) Test your script for the following parameters: L = 3 m, : 0.2 m, E-250 x 109 N/m2, 10-4 m4, w= 22,500 Nm, y(0) = 0, and y(3) = 0. 3 xStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started