Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Maths functions

Status
Not open for further replies.

BM

Programmer
Apr 26, 2000
27
GB
Anyone know of a header file which contains functions for secant/cosecant?

Barry M
 
#includer<math.h>
double sec(double x)
{
return 1/cos(x);
}
double cosec(double x)
{
return 1/sin(x);
} John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top