You can put this solution on YOUR website! Intuition tells me this has a very expected symmetry to use. The distance between any two opposite corners of the cube must be a diameter of the sphere.
That distance is found with the Pythagorean Theorem in THREE DIMENSIONS. If assign s = length of edge of the cube, .