Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please write code using C programming ONLY DUE: November 7, 2018, by 11-59 p.m. C POINTS: 65 INTRODUCTION: For a solid body, stress indicates the
please write code using C programming ONLY
DUE: November 7, 2018, by 11-59 p.m. C POINTS: 65 INTRODUCTION: For a solid body, stress indicates the strength of the material from which the body is made, while strain measures the deformation of the body under a force. Strain may be calculated by the following equation: Where &- strain (unitless) I-final specimen length -initial specimen length Through tension and compression tests, the stress and strain can be related to each other and give insight into how much force a material can experience data have been collected, they can be plotted to produce a stress-strain diagram. A sample stress-strain diagram is shown below. without undue deformation or failure. Once stress and strain Strain is plotted on the x-axis, and stress is plotted on the y-axis. There are four regions: the elastic region, yielding, strain hardening, and necking. For the elastic region, stress and strain can be related through Hooke's law where is the stress in ksi. E is the Young's modulus (a material-specific constant), and & is the strain (unitless- often expressed as in in). In the yielding region, the stress is constant while the strain varies. In the strain-hardening region, the stress and strain can be empirically related through Hollomon's equation where is the strain, fu is the strain at the elastic limit (a material-specific constant), and K and n are material-specific constants In the necking region, the cross-sectional area of the sample begins to decrease in a localized area. It is difficult to empirically relate stress and strain. At the fracture stress, the material sample breaks. 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 reoords 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 delimitedStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started