Find the midpoint between any two points in three-dimensional space.
The midpoint between two points (x₁, y₁, z₁) and (x₂, y₂, z₂) in 3D space is calculated using the formulas:
x = (x₁ + x₂) / 2
y = (y₁ + y₂) / 2
z = (z₁ + z₂) / 2
The distance between two points in 3D space is calculated using the formula:
d = √[(x₂ - x₁)² + (y₂ - y₁)² + (z₂ - z₁)²]