Question: 7. Consider a simply-supported beam with a rectangular cross-section, with the setup shown below. Write a MATLAB code that will calculate the bending moments M(x),

7. Consider a simply-supported beam with a rectangular cross-section, with the setup shown below. Write a MATLAB code that will calculate the bending moments M(x), shear forces V(x), maximal tension stresses (x), maximal shear stresses (x) and deflection (x). All expressions are provided below. Input parameters are length l, load q, cross-section width b and height h. Define the parameter x as a vector of linearly spaced values between 0 and using an increment of VN. Your results for M, V, , T, and should be also vectors. Represent your results as diagrams (i.e. plot the distribution of M. V, , and along the beam). Test your code assuming: 1-10 m, q=15 kN/m. E-35 GPa, b=0.15 m, h=0.40 m and N-100. Plot all five expressions using a separate graph and for each graph add a title, x and y-axis label. (22 points) 1 (x)-24E!(-x' + 21x'-13x) M(x)-24o(12lx-12x') V(x)= q(121-24x) 3 V(x) 2 A (x) max
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
