Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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