∵AB is the diameter⊙ O,
∴∠BCP=90。
According to the equal circumferential angle of the same arc:
∠A=∠D,∠DCA=∠PBA
∴△PCD∽△PBA.
∴CDAB=PCPB=cos∠BPC.
So choose B.