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

Consider a simply-supported beam with a rectangular cross-section, as shown below. Writea MATLAB code that will calculate the bending moments M(x), shear forces

Consider a simply-supported beam with a rectangular cross-section, as shown below. Write a MATLAB code that will calculate the bending moments M(x), shear forces V(x), maximum tension stresses (x), maximum shear stresses T(x) and deflection 8(x). All expressions are provided below. Input parameters are length 7, load q, cross-section width b and height h. Define the parameter x as a vector of linearly spaced values between 0 and 7 using an increment of I/N. Your results for M, V, o, t, and 8 should be also vectors. Represent your results as diagrams (i.e. plot the distribution of M, V, 6, 7 and 8 along the beam). Test your code assuming: /=20 m, q=30 kN/m, E-210 GPa, b=0.2 m, h=0.5 m and N=100. Plot all five expressions using separate graphs, and for each graph add a title, x and y-axis label. [20 points] q 8(x)=(-x+2x-x) M(x)=9(12lx-12x) V(x)=9(121-24x) 24EI 24 o(x) = M(x) yax I 3 V(x) T(x) == 2 A Hints: h For beam w/ rectangular x-section, I = bh, A = bh, Ymax 2 To plot multiple figures, figure (1), figure (2), used before plot (x, d), plot (x, M) Element-wise operator (.^) has to be used Units has to be consistent (preferred unit: SI method). ... command have to be

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Answer MATLAB CODE clc clear all close all l20 q30103 E210109 b02 h05 N100 Ibh312 ymaxh2 Abh x li... View full answer

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 Mechanical Engineering Questions!