Chord AM is drawn in a circle of diameter 30cm. Calculate the distance of chord from the centre, if AM = 18cm.
9 cm
15 cm
24 cm
12 cm
6 cm