How to Find Secant, Cosecant, or Cotangent of an Angle (188075)



The information in this article applies to:

  • Microsoft Excel 97 for Windows
  • Microsoft Excel for Windows 95
  • Microsoft Excel for Windows 5.0

This article was previously published under Q188075

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:

41064 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.

Modification Type:MinorLast Reviewed:8/17/2005
Keywords:kbhowto KB188075