Answer:
point_dist = math.sqrt((math.pow(x2 - x1, 2) + math.pow(y2 - y1, 2))
Explanation:
The distance formula is the difference of the x coordinates squared, plus the difference of the y coordinates squared, all square rooted. For the general case, it appears you simply need to change how you have written the code.
point_dist = math.sqrt((math.pow(x2 - x1, 2) + math.pow(y2 - y1, 2))
Note, by moving the 2 inside of the pow function, you have provided the second argument that it is requesting.
You were close with your initial attempt, you just had a parenthesis after x1 and y1 when you should not have.
Cheers.
Answer:
D
Explanation:
Confidential data is not supposed to be shared amongst others.
Answer:
"Macro Instruction"
Explanation:
A macro definition is a rule or pattern that specifies how a certain input sequence should be mapped to a replacement output sequence according to a defined procedure. The mapping process that instantiates a macro use into a specific sequence is known as macro expansion.
It is a series of commands and actions that can be stored and run whenever you need to perform the task. You can record or build a macro and then run it to automatically repeat that series of steps or actions.
Answer:
The elastic modulus of the steel is 139062.5 N/in^2
Explanation:
Elastic modulus = stress ÷ strain
Load = 89,000 N
Area of square cross section of the steel bar = (0.8 in)^2 = 0.64 in^2
Stress = load/area = 89,000/0.64 = 139.0625 N/in^2
Length of steel bar = 4 in
Extension = 4×10^-3 in
Strain = extension/length = 4×10^-3/4 = 1×10^-3
Elastic modulus = 139.0625 N/in^2 ÷ 1×10^-3 = 139062.5 N/in^2