Evaluates Ci(z), the Cosine Integral.
A scalar or series, the integration limit.
A scalar or series, the value of Ci(z), the integration of -
returns 0.337404 the value of:
cosint(1 + i)
returns 0.882172 + 0.287249i.
returns 1001 samples of Ci(x) with integration limits from 0 to 10.
W3: gamm + ln(w1) + integ((cos(w1) - 1) / w1)
W2 contains the cosine integral and W3 computes an approximation by directly integrating
The Cosine Integral, Ci(z), is defined as:
The input z may be complex.
The function can also be computed as:
where γ is the Euler constant implemented by GAMM.
for real(z) > 0 and E1(z) is the generalized exponential integral implemented by EXPINT.
See SININT to evaluate the Sine Integral.