programing in C#

dsis_1

 

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

 

               

 

                                Area of rod = compression load

 

                                                          Allowable compression stress

 

 

 

                                 Where diameter d = 2r

 

 

 

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. 

 

    • 11 years ago
    • 20
    Answer(1)

    Purchase the answer to view it

    NOT RATED
    • diameter.zip
    Bids(0)