Question: Download and study the attached MATLAB Template.m darr. Then modify the template by adding the following: A . Add a function called Momentoflnertia that calculates
Download and study the attached MATLAB Template.m darr. Then modify the template by adding the following:
A Add a function called "Momentoflnertia" that calculates I given the beam width and beam height
B Add a function to the script called "BeamDisplacement". This function should:
Receive the tip load, P current length, L and the modulus E and moment of inertial, I.
It should return the displacement calculated using the equation shown above.
C Add a forloop that repeats times and calls these two functions. For each iteration increase the height of the beam by inch. Start with in So will go from
D Plot the result showing the beam height, h on the axis and displacement on the axis. Ensure all axes are properly labeled.
Use the following properties to determine the values:
Beam Length
psi
If you can get these few ideas down, other scripts in this course will be easier to address.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
