subject

Write a main function, and the following functions to compute the stress and strain oa a steel rod(d) (in inches) and length(l) in inches subject to the compression load(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^6.
function to compute the stress formula:
stress f = p/a

where a =Ï€d2/4.0

a function to compute the strain from the formulas:

elongated or shortened length:

δ l = fl/e

strain e = δ l/l = f/e

a function to output the stress and strain at different loads of p

the function should call each other as main(top), calulate stress(1), calculate strain (2) and output (3)

also need a flow diagram to accompany program

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:30
How do you take a green screen out of the video while editing?
Answers: 2
question
Computers and Technology, 23.06.2019 21:00
Will this setup result in what kathy wants to print?
Answers: 2
question
Computers and Technology, 23.06.2019 22:40
22. sata3 allows for data transfer rates of 600 mb/s. explain why you would likely not be able to copy data from one hard drive to another at anywhere close to this speed. also, what could be upgraded on the computer to achieve transfer speeds closer to 600 mb/s
Answers: 1
question
Computers and Technology, 24.06.2019 02:00
Write an expression that will cause the following code to print "equal" if the value of sensorreading is "close enough" to targetvalue. otherwise, print "not equal". ex: if targetvalue is 0.3333 and sensorreading is (1.0/3.0), output is:
Answers: 1
You know the right answer?
Write a main function, and the following functions to compute the stress and strain oa a steel rod(d...
Questions
question
Mathematics, 24.02.2020 01:37
question
Mathematics, 24.02.2020 01:37
question
Mathematics, 24.02.2020 01:37
question
Mathematics, 24.02.2020 01:37
question
Mathematics, 24.02.2020 01:38