What is the value of r if the distance between the point (4,2) and (1,r) is 3 units?
Answer Details
We can use the distance formula to solve for the value of `r`.
The distance formula is:
`d = sqrt((x2 - x1)^2 + (y2 - y1)^2)`
where `(x1, y1)` and `(x2, y2)` are the coordinates of the two points, and `d` is the distance between them.
In this case, the two points are (4, 2) and (1, r), and the distance between them is given as 3 units. So we can write:
`3 = sqrt((1 - 4)^2 + (r - 2)^2)`
Simplifying the right-hand side, we get:
`3 = sqrt(9 + (r - 2)^2)`
Squaring both sides, we get:
`9 = 9 + (r - 2)^2`
Simplifying, we get:
`(r - 2)^2 = 0`
Taking the square root of both sides, we get:
`r - 2 = 0`
So the value of `r` is `2`.
Therefore, the answer is 2.