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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Maths functions

  • Thread starter Thread starter BM
  • Start date Start date
Status
Not open for further replies.

BM

Programmer
Joined
Apr 26, 2000
Messages
27
Location
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