formula for diagonal of cuboid - Search