A screw gauge has a pitch of 0.1 mm and 100 divisions on its circular scale. When its both jaws touch, the fifth division of its circular scale coincides with zero. When a sphere is placed between the jaws, the reading of the linear scale is 5 mm and the 50th division of the circular scale coincides with zero of the main scale. Find the diameter of the sphere.