Question: Q 2 : Finite Difference Method You have measured the following displacements along the length of a cantilevered beam with a linearly increasing load. The

Q2: Finite Difference Method
You have measured the following displacements along the length of a cantilevered beam with a linearly
increasing load.
The slope, , of the beam is the first derivative of the displacement with respect to x, as follows:
dydx=(x)
The first derivative of the slope, , with respect to x is related to the bending moment, M(x), as follows:
ddx=d2ydx2=M(x)EI
where x is the distance along the beam, y is the displacement, E is the modulus of elasticity, and I is
the moment of inertia. Use the following physical parameters:
E=200[GPa]
I=0.0003[m4]
Write a Matlab or Python code to complete the following:
(1 pt) Numerically differentiate the provided data for displacement, y(x), to produce a table of
the slope, (x), data. You can choose formulas of any error order.
(2 pts) Use numerical differentiation to compute the moment, M(x), using the following 2
approaches [reference Eqn. 2]:
(a) Numerically differentiate the first derivative of the (x) a pproximations obtained in the
first part.
(b) Numerically differentiate the second derivative of the measured y(x) data provided.
(2 pts) Plot the moment, M(x), obtained using each of the methods from the previous part.
Provide a comment regarding which method is more accurate and why. WRITE THE CODE IN MATLAB
Q 2 : Finite Difference Method You have measured

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!