Posted: April 26th, 2017

Write a program to compute the diameter in centimeters of a steel rod, an aluminum rod, and a copper rode, which can withstand a particular compression load.

Write a program to compute the diameter in centimeters of a steel rod, an aluminum rod, and a copper rode, which can withstand a particular compression load. The allowable compression stress of steel, aluminum, and copper is 25,000 lbs/m2, 15,000 lbs/m2, and 20,000 lbs/m2, respectively.

Area of load / allowable compression stress

Area = π r2 where diameter

Input the compression load. Print the type of material, load, allowable stress, and diameter. Use formatted output with field width specifications that align the output.

Expert paper writers are just a few clicks away

Place an order in 3 easy steps. Takes less than 5 mins.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Live Chat+1-631-333-0101EmailWhatsApp