Here's the question you clicked on:
marlene
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
You just need to understand conceptually what is happening?
well i dont know what compression load is
i dont know what numbers im suppose to put on "compression load" to get the area of the rod
Like what to input for the compression load?
The resultant diameter is a result of the compression load
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
So that the compression load is a user input and the diameter is what the program outputs
oooh okay i understand that part but what type of number does the user input lolol just (1,2,3,4,5....55)?
or try something like float load; int userchoice;
Sorry if these aren't the answers you need lol
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