Question
C++ The deflection at any point along the centerline of the cantilevered beam, such as used in a balcony, see figure below, when a weight
C++
The deflection at any point along the centerline of the cantilevered beam, such as used in a balcony, see figure below, when a weight is applied to the end of the beam is given by the formula:
d = [(wx^2)/6EI] * (3l-x)
d is the deflection of the load at location x (ft)
x is the distance from the secured end (ft)
W is the weight placed at the end of the beam (lbs)
l is the length of the beam (ft)
E is the modules of elasticity (lbs/ft2)
I is the second moment of inertia (ft4). From problem 1 I = (bh^3) / 12 b is the beams base and the height.
Using this information, 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 lb
l = 3 ft
E = 187.2 x 106 lb/ft2
b = .2 ft
h = .3 ft
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started