subject
Engineering, 18.11.2019 22:31 TrucerZ6707

An input data file called strain_tests contains test results for 304 stainless steel samples. the first record line of the input file is the control number, which defines the number of records to be read into the program. each succeeding record line has two columns, where the first column is the final length of the sample and the second column is the initial length of the sample. the input file is comma delimited. assignment: write a c program that will read the required values from the input file into two one-dimensional arrays: one array for the initial length and one array for the final length. calculate the strain based on the length values, and use this strain to calculate the stress. print the strain, the stress in ksi, and which regime the strain corresponds to, both to the screen and to an output data file called stress_strain. for this problem, use the following constants:

ansver
Answers: 2

Another question on Engineering

question
Engineering, 03.07.2019 15:10
Two flowing streams of argon gas are adiabatically mixed to form a single flow/stream. one stream is 1.5 kg/s at 400 kpa and 200 c while the second stream is 2kg/s at 500 kpa and 100 ? . it is stated that the exit state of the mixed single flow of argon gas is 150 c and 300 kpa. assuming there is no work output or input during the mixing process, does this process violate either the first or the second law or both? explain and state all your assumptions.
Answers: 1
question
Engineering, 04.07.2019 12:10
On a average work day more than work place firs are reorted
Answers: 1
question
Engineering, 04.07.2019 18:10
Asingle-geared blanking press has a stroke of 200 mm and a rated capacity of 320 kn. a cam driven ram is assumed to be capable of delivering the full press load at constant force during the last 15 percent of a constant-velocity stroke. the camshaft has an average speed of 90 rev/min and is geared to the flywheel shaft at a 6: 1 ratio. the total work done is to include an allowance of 16 percent for friction a) estimate the maximum energy fluctuation b) find the rim weight for an effective diameter of 1.2 m and a coefficient of speed fluctuation of 0.10
Answers: 1
question
Engineering, 04.07.2019 18:10
Afluid flows with a velocity field given by v=(x/t)i.. determine the local and convective accelerations when x=3 and t=1.
Answers: 2
You know the right answer?
An input data file called strain_tests contains test results for 304 stainless steel samples. the fi...
Questions
question
English, 29.10.2020 02:20
question
History, 29.10.2020 02:20
question
Mathematics, 29.10.2020 02:20
question
Mathematics, 29.10.2020 02:20
question
Arts, 29.10.2020 02:20
Questions on the website: 13722360