Artificial intelligent assistant

Finding Volume of Cube from Co-Ordinate Points If I am given two 3-D points of a cube,how do I find the volume of that Cube?where $(x_1, y_1, z_1)$ is the co-ordinate of one corner and $(x_2, y_2, z_2)$ is the co-ordinate of the opposite corner.

Compute first the diagonal length $d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2+(z_2-z_1)^2}$. An edge of the cube has length $s=d/\sqrt3$ and $V=s^3=d^3/(3\sqrt3)$.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy e89e35161036871e4941da37118c6726