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

I need this question to be solved using (do while loops) and (for loop) in 2 different programs with explaination if possible.  I need this question to be solved using (do while loops)

(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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!