Let be unit vectors along OA, OC, OE respectively. Let OB, OD, OF be the diagonals of faces OABC, OCDE, OEFA respectively of the cube of side of length b.
Now
unit vector along
Similarly unit vector along =
and unit vector along
Let be resultant of vectors
magnitude of resultant vector =