Question
C++ *Please do not handwrite* Write a program that will calculate the safe load on a load bearing column given the slimness ratio.The slimness ratio
C++ *Please do not handwrite*
Write a program that will calculate the safe load on a load bearing column given the slimness ratio.The slimness ratio will be input by the user from the keyboard and the program should output the calculated safeload.The safe load is calculated as follows:
S=17,000 - .485R2 for R<120
Or
S= 18,000/( 1 +(R2/18,000)) for R 120
Where S=safe load (pounds per square inch)
R=slimness ratio(dimensionless it is a ratio of the columns length to its width). Note that this value can NOT be negative. Your program must account for this.
Execute this program twice using values of R = 20, and R = 100.
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