Answered>Order 802

Write a main function and the following functions to compute the stress and strain in a steel rod of diameter D (inches) and length L (inches) subject to the compression loads P of 10,000 to 1,000,000 pounds in increments of 100,000 pounds. The modulus of elasticity E for steel is 30 x 106 .A function to compute the stress from the formulas:where A= ?D2 /4.0A function to compute the strain from the formulas:elongated or shortened length ?L =(fL)/Estrain e = (?L)/L = f/EA function to output the stress and strain at differnt loads of P:Main calls each function ( calculate stress, calculate strain, and Output)

 
"Not answered?"
Get the Answer