Question: BEAM.TXT DATA FILE INTRODUCTION: Beam analysis is an important part of the structural analysis conducted before construction of a building begins. A frequently used type

BEAM.TXT DATA FILE


INTRODUCTION: Beam analysis is an important part of the structural analysis conducted before construction of a building begins. A frequently used type of beam is a cantilever beam, which is fixed on one end and free on the other. Cantilever beam The amount of deflection when a load is applied to this type of beam can be computed with the following equation: length-a) * a deflection *(beam 2F Where L = applied load in pounds a-length from fixed end to applied load in feet E = elasticity or material (wood, steel, 1 = moment of inertia ofthe beam, which can be computed with the following equation: base length3 12 We have information on 9 different beams in a data file, beam.txt. The data for each beam is given in the following four real values, which are stored in one data line (space-delimited) in the proper units for the equations above Beam length Beam base Elasticity constant Applied load ASSIGNMENT: Write a C program to read the information for each beam from the beam.txt data file (one point at a time) and print a report, both to the screen and to an output file (deflection.txt) that places the applied load at 1-foot intervals starting at one foot from the fixed end (i.e., at 1 foot) and moving down the length of the beam. Once this is working, modify the program so that the deflections for each beam are printed only as long as they are less than 5% of the beam length. When the beam deflection is greater than or equal to 596, the program should stop computing values for that beam and go on to the next. If the deflection distance of 5% is never reached, the program should print an appropriate message
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
