If a circle with center O has equilateral triangle AOB inscribed with sides 10 inches long. If OC is perpendicular to AB at P, what is the length of AP in inches?