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 06:30
Requirement types discussed during software development include functional and color scheme nonfunctional and code style constraint and nonfunctional fashionable and functional.
Answers: 2
question
Computers and Technology, 24.06.2019 11:00
The program below has been generalized to read a user's input value for hourlywage. run the program. notice the user's input value of 10 is used. modify that input value, and run again. generalize the program to get user input values for workhoursperweek and workweeksperyear (change those variables' initializations to 0). run the program. monthsperyear will never change, so define that variable as final. use the standard for naming final variables. ex: final int max_length
Answers: 2
question
Computers and Technology, 24.06.2019 17:00
Following are uses of spreadsheets. for each use, choose whether the use is a business use, consumer use, or student use. family budget: sales data: recording research data for science class:
Answers: 2
question
Computers and Technology, 24.06.2019 20:30
⭐️⭐️⭐️ what network is larger in size? man or wan? you ⭐️⭐️⭐️
Answers: 2
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, 19.09.2019 21:30
question
History, 19.09.2019 21:30
question
Mathematics, 19.09.2019 21:30
question
Biology, 19.09.2019 21:30
Questions on the website: 13722367