In #triangle ABC, a=5, b=12, c=13#, how do you find the cosine of each of the angles?