As shown in the figure, if a circle is tangent to the x-axis in the plane rectangular coordinate system at point a (8,0), and intersects with the y-axis at points B (0,4), C (0,16), then the diameter of the circle is______ .

As shown in the figure, if a circle is tangent to the x-axis in the plane rectangular coordinate system at point a (8,0), and intersects with the y-axis at points B (0,4), C (0,16), then the diameter of the circle is______ .

Make a vertical line of y-axis through the center o ', the perpendicular foot is D, connect o'a, ∵ o'd ⊥ BC, ∵ D is the midpoint of BC, ∵ BC = 16-4 = 12, OD = 6 + 4 = 10, ∵ o'is tangent to x-axis, ∵ o'a ⊥ x-axis, ∵ quadrilateral oao'd is rectangular, radius o'a = od = 10, diameter is 20