In trigonometry, the function of an angle in a right-angled triangle obtained by dividing the length of the hypotenuse (the longest side) by the length of the side adcent to the angle. It is the reciprocal of the cosine (sec = 1/cos).