This question was asked in Ex 13.8, 3
Diagonal of sphere and cube 
Adarsh Pros's image