The Cotangent is the reciprocal of the Tangent.
I.e. for the triangle above,The trig. ratios are discussed further on the Wikipedia Trigonometric Ratios Page
The Excel Cot function calculates the cotangent of a given angle.
Note: the Cot function was only introduced in Excel 2013 and so is not available in earlier versions of Excel.
The syntax of the function is:
Where the number argument is the angle (in radians) that you want to calculate the cotangent of. This must be between -2^27 and +2^27.
If the supplied number argument is equal to 0, the Cot function returns the #DIV/0! error.
Converting from Degrees to RadiansAn example of this is given below.
The Excel Cot Function is used in the following spreadsheet, to calculate the Cotangent of four different angles:
Note that in the above examples:
Further details and examples of the Excel Cot function are provided on the Microsoft Office website.
If you get an error from the Excel Cot function, this is likely to be one of the following:
|#DIV/0!||-||Occurs if the supplied number is equal to zero.|
|#NUM!||-||Occurs if the supplied number is less than -2^27 or is greater than 2^27.|
|#VALUE!||-||Occurs if the supplied number is not recognised as a numeric value.|