Question: I need this question to be solved using (do while loops) and (for loop) in 2 different programs with explaination if possible. (Mechanics) The deflection
(Mechanics) The deflection at any point along the centerline of a cantilevered beam, such as the one used for a balcony (see Figure), when a load is distributed evenly along the beam is given by this formula: d is the deflection at location x (ft). x is the distance from the secured end (ft) w is the weight placed at the end of the beam l is the beam length (ft) E is the modules of elasticity (lbs/ft2). I is the second moment of inertia (ft4) Figure A wooden beam with a distributed load For the beam shown in Figure, the second moment of inertia is determined as follows b is the beam's base h is the beam's height Using these formulas, write, compile, and run a C++ program that determines and displays a table of the deflection for a cantilevered pine beam at half-foot increments along its length, using the following data: w = 200 lbs/ft l- 3 ft E = 187.2. 106 lb/ft2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
