Write a main function and the functions to compute


In C:
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 10 to the 6th power.

A function to compute the stress from the formulas 
stress f = P/A

where A = pie D to the second / 4.0
A function to compute the strain from the formulas

elongated or shortened length AL = fL/E

strain e = AL/L = f/E
A function to output the stress and strain at different loads of P

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a main function and the functions to compute
Reference No:- TGS0120778

Expected delivery within 24 Hours