C Programming/C Reference/complex.h/ccos
< C Programming < C Reference < complex.hThe C library provides with the ccos
function which gives the cosine of a complex number.It is included in the header file complex.h. This function returns a double-precision floating point number.
The ccos function can be expressed as:
ccosz = (exp (i * z) + exp (-i * z))/2[1]
References
- ↑ "ccos(3) - Linux man page". die.net. Retrieved 20 September 2011.
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.