Title DescriptionWrite a function to find the value of Sinh (x), the approximate formula for Sinh (x) is Sinh (x) = (ex-e-X)/2, where a function is used to find the ex . The result retains two decimal places.InputXOutputThe value of the Sinh
[C language library function source code]
[This program is compiled in Dev C ++ 4.9.9.2]
Double my_sinh (Double X)
{
Double ret;
If (x >=0.0)
{
Ret = exp (X );
Return (ret-1.0/RET)/2.0;
}
Else
{
Ret = exp (-x );
Return (1.0/ret-RET)/2.0;
ABS ()
Seek absolute value
ACOs ()
Seeking the inverse cosine
ASIN ()
Ask for the inverse of the string
Atan ()
Ask for anyway cut
ATAN2 ()
To find the tangent, to
ABS
Prototype: extern int ABS (int x );
Usage: # include
Function: calculates the absolute value of integer x.
Description: calculation | x |. If X is not negative, X is returned. Otherwise,-X is returned.
Example:
// Abs. c
# Include # Include
Common mathematical functions in php tutorials
The tanh () function returns the hyperbolic tangent.
SyntaxTanh (x) parameter descriptionX is required. A number.
DescriptionReturns the hyperbolic tangent of x, defined as sinh (arg)/cosh (arg ).
*/
The tanh () function returns the hyperbolic tangent.SyntaxTanh (x) parameter descriptionX is required. A number.DescriptionReturns the hyperbolic tangent of x, defined as sinh (arg)/cosh (arg ).*/Echo tanh (-m_pi); // output-0.996272076221Echo "
Java report tool FineReport common functions usage Summary (mathematical and trigonometric functions), javafinereport
ABS
ABS (number): returns the absolute value of a specified number. Absolute Value refers to a value without positive or negative
Single-record functions in SQL1. ASCIIReturns the decimal number corresponding to the specified character;SQL> select ASCII ('A') A, ASCII ('A') A, ASCII ('0') zero, ASCII ('') space from dual;A A zero space------------------------------------65 97 4
This article will introduce some interesting functions that trisi often uses in daily life, or which are rarely used. There are two types of introduction:
Famous functions-frequently used functions
Non-famous functions-although rarely used, they are
This article will introduce some of the functions that are often used in everyday life, or that are very interesting, though they are rarely used. It is divided into two kinds of introductions, namely:
Famous letters-functions that are often
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.