Question: the distance from a corner to the centre of a cube is 6. what is the volume of the cube?
Answer: 332.55
I drew a figure of a cube and two lines from a corner to their opposite corner and labeled the middle of the cube e. the triangle aec is right angled because the 2 lines make 4 equal angles when they intersect at e. knowing this and that the distance from a corner to e is 6, I calculated ac to be 8.49 or √72 using the Pythagorean theorem. Since I know ac is 8.49, I calculated x to be 6. 6³ is 216, so the volume of the cube is 216. Please tell me where I went wrong, Thank You.
The angle $\angle AEC$ is NOT $90^{\circ}$, which is why your approach doesn't quite work.
Another approach -- the distance between two opposite corners is the diameter of the sphere, i.e. $12$. This implies the side of the cube is $12/\sqrt{3}$ (can you see why?), which gives the correct answer.