If distance between centre to chord is 12 cm and length of chord is 10 cm then the diameter of circle is