Question: 2 . 2 0 LAB: Axial stretch a uniform rod in tension The following equation computes the stretch in a uniform steel rod subject to
LAB: Axial stretch a uniform rod in tension
The following equation computes the stretch in a uniform steel rod subject to a tension force using the following relation:
The equation above is correct for all of the quantities in base SI units. So length l in m crosssectional area A in m force F in N and elastic modulus E in Pa The crosssectional area for a circular rod of diameter d is A pi d We will consider steel, for which E times Pa
The code below attempts to compute the stretch for a rod when the user enters the diameter, length, and force. The code has one or more Python errors. In addition, there is an incorrect number somewhere. Using hand calculations and proper unit conversions, you find that the correct result for d mm l m and F N is about delta mm You could do the same calculations for different d l and F to test the code.
Ex: If the input is:
then the correct last line of output would be:
The rod will stretch mm
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
