A flying cat is trying to eat a mouse. The cat is sitting on the carpet at (0, 0, -5), while a mouse is hiding up on a ledge at (2, 8, 1). What is the shortest distance from the cat’s position to the mouse’s? :D
If the cat can leap, then the shortest distance is the straight line between them. Well... it would be somewhat of an arc but let's neglect that.
.
Yes, let's. Also, it's a FLYING cat so it goes WHEEEEEE in a straight line :D
Shortest distance =
sqrt [ (2 - 0)^2 + ( 8 - 0)^2 + ( -5 - 1)^2 ] =
sqrt [ 4 + 64 + 36 ] =
sqrt [ 104 ] =
2 sqrt (26)
Thank you!