A triangle ABC has its vertices lying on a circle, if AB=24cm,BC=32cm and AC=40cm. Then find angle B.