If the sides of a right-angled triangle are in G.P., then the cosines of the acute angle of the triangle are