Question: Give the matlab code for this question PROBLEM 2. points 25 - Use MATLAB As depicted in the next Fig. , the downward deflection y
PROBLEM 2. points 25 - Use MATLAB As depicted in the next Fig. , the downward deflection y (m) of a cantilever beam with a uniform load w (kg/m) can be computed as where distance (m), E-the modulus of elasticity 2 x 1011 Pa, l-moment of inertia 3.25 x104m, w 10000 N/m, and L length 4m. This equation can be differentiated to yield the slope of the downward deflection as a function of r: 2E(11) dr 24EI compute the deflection from r0 to L equation D or eq.(5), and plot it versus r in a separate figure. If y-0 at 1 0, use this equation witht Euler's method and a step 0.125 m to Develop a plot of your results along with the analytical solution computed with the first Also, compute the true percent relative error e according to eq. 13.3) of your textbook 0 Figure 1: Figure for problem 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
