Calculus & Numerical Methods
Maclaurin Series ln(1+x)
Approximate ln(1+x) with n terms (|x| < 1).
Formula
Formula
ln(1+x) ≈ Σ (−1)k+1 xkk
Variables
| Symbol | Definition | Type & range | Units | Role |
|---|---|---|---|---|
| x | argument (|x| < 1) | real number (ℝ) | — | input |
| n | number of terms | integer (ℤ) | — | input |
Try it yourself
Interactive calculator
Worked examples
Example 1
Givenx = 0.5, terms n = 30
Result0.4054651081
Example 2
Givenx = -0.3, terms n = 30
Result-0.3566749439