XL: How to Find Secant, Cosecant, or Cotangent of an Angle

ID: Q188075

The information in this article applies to:

SUMMARY

Microsoft Excel has built-in functions for a large number of trigonometric functions, but does not include all such functions. However, those not included may be derived from existing functions by using a formula in Microsoft Excel.

Some functions that may be derived from built-in Excel functions include:

   secant (SEC)
   cosecant (CSC)
   cotangent (COT)

These functions are the inverse of the cosine, sine, and tangent, respectively. To calculate these additional functions where "angle" is the measure of the angle in radians, use the following formulas:

   SEC(angle) = 1/COS(angle)

   CSC(angle) = 1/SIN(angle)

   COT(angle) = 1/TAN(angle)

For example, to find the cotangent of a 30 degree angle, use the following formula:

   =1/TAN(30*PI()/180)

NOTE: To convert an angle from degrees to radians, multiply the angle in degrees by PI()/180.

MORE INFORMATION

NOTE: Trigonometric functions in Excel must use angles measured in radians rather than in degrees.

For additional information on converting degree angles to radians, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q41064
   TITLE     : XL: Trigonometric Functions Returning Incorrect Values

REFERENCES

For more information about trigonometric functions, click Contents And Index on the Help menu, click the Index tab in Excel 97 Help, type the following text

   trigonometric functions

and then double-click the selected text to go to the "About math and trigonometry functions" topic. If you are unable to find the information you need, ask the Office Assistant.

Additional query words: XL97

Keywords          : kbdta xlformula 
Version           : MACINTOSH:2.20,3.0,4.0,5.0; WINDOWS:2.1,3.0,4.0,5.0,7.0,7.0a,97
Platform          : MACINTOSH WINDOWS
Issue type        : kbhowto

Last Reviewed: January 9, 1999