11.07.2015 Views

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Library FunctionsCOSH, SINH, TANHSynopsis#include double cosh (double f)double sinh (double f)double tanh (double f)DescriptionThese functions are the hyperbolic implementations of the trigonometric functions; cos(), sin() andtan().Example#include #include voidmain (void){printf("%f\n", cosh(1.5));printf("%f\n", sinh(1.5));printf("%f\n", tanh(1.5));}Return ValueThe function cosh() returns the hyperbolic cosine value.The function sinh() returns the hyperbolic sine value.The function tanh() returns the hyperbolic tangent value.137

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!