Question: If x 1 , y 1 , x 2 , and y 2 are respectively the coordinates of two points, what is the correct java
If and are respectively the coordinates of two points, what is the correct java code to calculate and display the distance between these two points using the Distance Formula?
Distance formula
distance
coordinates of the first point
coordinates of the second point
Math.sqrtMathpowxx Math.powyy
Math.sqrtMathpowMath.powyy
Math.sqrtMathpowxxMath.powyy
Math.powMathsqrt Math.sqrt
None of the other answers
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
