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

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, danksans7011
The mass flow rate of the fluid remains constant in all steady flow process. a)- true b)- false
Answers: 1
image
Engineering, 04.07.2019 18:10, tobyhollingsworth178
Which from the following instrument is commonly used to detect the high pitch butzing sound in bearings? [clo4] a)-digital ultrasonic meter b)-infrared camera c)-spectroscopic d)-vibrometer
Answers: 2
image
Engineering, 04.07.2019 19:10, gabrielaperezcz
Air inially occupying a volume of 1 m2 at 100 kpa, 27 c undergoes three internally reversible processes in series. process 1-2 compression to 500 kpa during which pv constant process 2-3 adiabatic expanslon to 100 kpa process 3-1: constant-pressure expansion to 100 kpa (a) calculate the change of entropy for each of the three processes. (b) calculate the heat and work involved in each process. (c) is this cycle a power cycle or refrigeration cycle?
Answers: 3
image
Engineering, 04.07.2019 19:10, nida7864
An engine, weighing 3000 n, is supported on a pedestal mount. it has been observed that the engine induces vibration into the surrounding area through its pedestal at the maximum operating speed. determine the stiffness of the dynamic vibration absorber spring in (n/m) that will reduce the vibration when mounted on the pedestal. the magnitude of the exciting force is 250 n, and the amplitude of motion of the auxiliary mass is to be limited to 2 mm note: in this question type-in right numbers, no decimals, no fractions, no unit. approximate to right number if needed
Answers: 3
You know the right answer?
An input data file called strain_tests contains test results for 304 stainless steel samples. the fi...

Questions in other subjects: