Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Function 15 - 25 min Create a function named CalcDeflection that, using Eqs. 1 through 4, calculates the deflection of a simply supported beam

image text in transcribed

Function 15 - 25 min Create a function named CalcDeflection that, using Eqs. 1 through 4, calculates the deflection of a simply supported beam for a single, point load. The inputs to this function will be a vector of positions along the beam (in meters) where the deflection will be calculated, the magnitude of the force on the beam [N], the location of the force on the beam [m], the elasticity of the beam, and the length, width and height of the beam [m]. This function will have a single output: a vector containing the beam deflection (in millimeters) at each corresponding point along the beam. Function Inputs: 1. A vector of positions along the beam at which the deflection will be calculated [m] 2. The concentrated force on the beam [N] 3. The location where the force is applied [m] 4. The elasticity of the beam material 5. Length, width and height of the beam, a 1x3 vector [m] I Function Outputs: 1. The deflection at each position along the beam [mm] The function header should be formatted similarly to the following: function out = CalcDeflection (in1, in2, in3, in4, in5) Remember you are free to use whatever variable names you want, but they must be listed in the same order as given in the input/output lists provided above. C

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Numerical Methods For Engineers

Authors: Steven C. Chapra, Raymond P. Canale

5th Edition

978-0071244299, 0071244298

More Books

Students also viewed these Mechanical Engineering questions