Answered step by step
Verified Expert Solution
Question
1 Approved Answer
MATH307, Spring 2020 > MG 2: Arrays, Dot Operator, Plotting > Elastic deflection 3 solutions submitted (max: 10) | View my solutions The elastic deflection
MATH307, Spring 2020 > MG 2: Arrays, Dot Operator, Plotting > Elastic deflection 3 solutions submitted (max: 10) | View my solutions The elastic deflection at a point x on a 48 inch beam supported at the ends under a uniform load is given by 8=24, L - 24x + x2) where is the load on the beam (8), L is the length of the beam, E is the elastic modulus (1.8 x 10"), and I is the area moment of inertia (5.1) (all values are given in good ole-fashioned, compatible American units). Create an evenly spaced array of length 50 for x. Recall x is the position along the beam. The array should have 50 entries in it. and a corresponding array for 8. Use the variables q, L, E, I rather than the values to create the arrays. (How many times is the dot operator necessary? Why is it necessary in those places?) Plot the deflection as a function of x, and plot the line d = 0.05 on the same axes to indicate the portion of the beam where the deflection is greater than 0.05. Script 1 % Create arrays x and delta here x = linspace (0,50,50) q=8 E=1.8*10^6 5 I=5.1 L=48 7 delta= (x.*q*L^3-X.^3.*2*L*q+x.^4.*9)/(24*E*L) % Part 3 is done for you... how nice! 9 figure 10 hold on; 11 plot(x, delta); % plot the deflection vs x 12 plot(x,0.05*ones (size(x))); % plot the constant line y = 0.05
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started