Evaluates the cosine integral for any real nonnegative number x.

![]() |
x is any real nonnegative number. |
![]() |
Ci(x) is the result of the calculation of the cosine integral for the given value of x. |
The following equation defines the cosine integral.

where Ci is the cosine integral and
is the Euler constant.
The following illustration shows the graph of the cosine integral in the interval (0, 15).
