nerdamer.Ci(x: Expression): Expression
Computes the cosine integral: Ci(x) = γ + ln(x) + ∫₀ˣ (cos(t)−1)/t dt,
where γ is the Euler–Mascheroni constant.
- Ci(+∞) = 0, Ci(−∞) = 0
- Ci(0) = −∞
- The function is even for the principal branch: Ci(-x) = Ci(x).
Parameters
| Name | Type | Description |
|---|
x | Expression | The input expression. |
Examples
Ci(Expression.create('x')).text() // "Ci(x)"