ABC is an isosceles triangle in which ab=ac=5cm and bc=6cm. calculate am where m is the midpoint of bc

Sketch your triangle to see that:

am^2 + 3^2 = 5^2
am^2 = 25-9 = 16
am = √16 = 4