calculator for distance and midpoint coordinates between two points in three-dimensional space

X Y Z
A :
B :
distance from point a to point b:
coordinate midpoint:
x:y:z:

设A(x1,y1,z1),B(x2,y2,z2),|AB|=√[(x2-x1)^2+(y2-y1)^2+(z2-z1)^2]