Question: SOLVE USING MATLAB. THANK YOU. For a uniformly loaded span of a cantilever beam attached to a wall at x = 0 with the free

SOLVE USING MATLAB. THANK YOU.
For a uniformly loaded span of a cantilever beam attached to a wall at x = 0 with the free end at x = L, the formula for the vertical displacement from y = 0) under the loaded condition with y the coordinate in the direction opposite that of the load can be written as follows: Y= -(x4 - 4x3 + 6X2) where Y is the vertical displacement, X = x/L, and L is the length of the beam. The formula was put into dimensionless form to answer the following question: What is the shape of the deflection curve when the beam is in its loaded condition and how does it compare with its unloaded perfectly horizontal orientation? The answer is provided graphically in Figure Q4. Figure Q4 shows the vertical deflection of a uniformly loaded cantilever beam and its comparison with the unloaded perfectly horizontal orientation. Write a script to get the same figure as Figure Q4 by solving the following question. Unloaded cantilever beam 0.5 - Uniformly loaded beam 0 -0.5 -1 > -1.5 -2 -2.5 -3 -3.5 0.5 1.5 Figure Q4 a) Calculate the vertical displacement, Y, from X=0 to X=1 with the interval of 0.01. b) Plot the same figure as Figure Q4, including title, xlabel, ylabel, legend, and two vertical deflection lines (with same colour and line width as Figure Q4). c) Print the X and Y, by using the fprintf function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
