## marlene 3 years ago can someone help me understand this math. this is for me C programming class but there's no way i can code this if i dont understand the math. Compute the diameter in centimeters of a steel rod, an aluminum rod, and a copper rod, which can withstand a particular compression load. The allowable compression stress of steel, aluminum , and copper is 25000 lbs/m^2, 15000 lbs/m^s, and 20000 lbs/m^2 respectively. area of rod = compression load / allowable compression stress area=(pi)r^2 where diameter=2r

1. Hunus

You just need to understand conceptually what is happening?

2. marlene

well i dont know what compression load is

3. marlene

i dont know what numbers im suppose to put on "compression load" to get the area of the rod

4. Hunus

Like what to input for the compression load?

5. marlene

yes

6. Hunus

The resultant diameter is a result of the compression load

7. Hunus

So, for instance, you want a copper/iron/etc. rod to have a compression load of X what diameter must it have so that that is possible

8. Hunus

So that the compression load is a user input and the diameter is what the program outputs

9. marlene

oooh okay i understand that part but what type of number does the user input lolol just (1,2,3,4,5....55)?

10. Hunus

Oh. an integer

11. Hunus

or try something like float load; int userchoice;

12. Hunus

Sorry if these aren't the answers you need lol

13. marlene

no worries you helped xD i just really did not know what compression load is. and if i were to run it, i wouldnt know if the numbers that comes out were right xD