Question: deflections. The b' symbol is b L-a. Deflection-at-Load = Deftection at Center - f 1. Ask the user Sor the Sollowing inputs (must be noa-negative)

deflections. The b' symbol is b L-a. Deflection-at-Load = Deftection at Center - f 1. Ask the user Sor the Sollowing inputs (must be noa-negative) a Length of the beam in inches b. Load in pounds. c Modulus of elasticity in pai d. The number of points to have deflection computed foe incloding the two ends (must be2 and an integer).Thia vector is 2. You program must then call the function 'deflection' to compute the deflection at centex deflertion at load and the maximum deflection deflections for each of equidistamt points (A vector) 3. You must the generate a repoet with 4labeled columes, Position, Maximum Deflection, Deflection at load, and Deflection at center as shown in the sample run Finish the tollowing MATLAB function and write a MATLAB Script that (uses that function) to satisfy the above description. function [ max-Def, detat load, deCat.Center 1-deflection( A, RL L E) T function gets the following arguments IN ector of the equidistance points for the deflection to be calculated along the beam. calar representing the load in pounds l is a scalar representing the moment of inertia L is a scalar representing the length in inches E is a scalar representing the modulus of elasticity The function returns the following arguments OUT max Defis a vector of the maximum deflections of the beam def at Load is a vector of deflection of the beam at the point of the load def at Center is a vector of deflection of the beam at its center Outline I. Create a MATLAB Function m file- named delectionm 2. Copy the skeleton function given 3. Finish the function by assigning all of the output variables correctly 4 Create a MATLAB Script m file-named Progrwnosm 5. Write the necessary MATLAB commands to prompt for and read intovariables all the variables needed 6 Call your defectionm function to compute the deflections 7. Format and display to the screen, the output report for the position, wax deflection, deflection at Load and at Center as shown in the sample run. deflections. The b' symbol is b L-a. Deflection-at-Load = Deftection at Center - f 1. Ask the user Sor the Sollowing inputs (must be noa-negative) a Length of the beam in inches b. Load in pounds. c Modulus of elasticity in pai d. The number of points to have deflection computed foe incloding the two ends (must be2 and an integer).Thia vector is 2. You program must then call the function 'deflection' to compute the deflection at centex deflertion at load and the maximum deflection deflections for each of equidistamt points (A vector) 3. You must the generate a repoet with 4labeled columes, Position, Maximum Deflection, Deflection at load, and Deflection at center as shown in the sample run Finish the tollowing MATLAB function and write a MATLAB Script that (uses that function) to satisfy the above description. function [ max-Def, detat load, deCat.Center 1-deflection( A, RL L E) T function gets the following arguments IN ector of the equidistance points for the deflection to be calculated along the beam. calar representing the load in pounds l is a scalar representing the moment of inertia L is a scalar representing the length in inches E is a scalar representing the modulus of elasticity The function returns the following arguments OUT max Defis a vector of the maximum deflections of the beam def at Load is a vector of deflection of the beam at the point of the load def at Center is a vector of deflection of the beam at its center Outline I. Create a MATLAB Function m file- named delectionm 2. Copy the skeleton function given 3. Finish the function by assigning all of the output variables correctly 4 Create a MATLAB Script m file-named Progrwnosm 5. Write the necessary MATLAB commands to prompt for and read intovariables all the variables needed 6 Call your defectionm function to compute the deflections 7. Format and display to the screen, the output report for the position, wax deflection, deflection at Load and at Center as shown in the sample run
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
