The cotangent of an angle in a right-angled triangle is defined as
the ratio between the lengths of the adjacent side of an angle to its opposite side.
The cotangent of an angle in a right angle triangle is the ratio between the lengths of the adjacent side of an angle to its opposite side.
In triangle ABC,
cotangent of angle A =ABBC
AB = adjacent side
BC = opposite side,
hence cot A =ABBC