# numeric_sum function

Add up an expression over a range, as a decimal.

## How to write it

### numeric_sum(f, k = a..b)

**f**

The expression or function to work on. Takes an expression.

**k = a..b**

The index and its bounds. Takes a variable with its range.

## Examples

- $\displaystyle \sum_{k=1}^{100} \frac{1}{k^{2}} \approx 1.6349839001848923$

  `numeric_sum(1/k^2, k = 1..100)`

  In the solver, `numeric_sum(1/k^2, k = 1..100)` gives `1.6349839001848923`.

  [Open in the solver](https://hilberon.com/?q=numeric_sum%281%2Fk%5E2%2C%20k%20%3D%201..100%29)

## Related functions

- [sum](https://hilberon.com/library/sum)

  Sum of an expression over one or more ranges.
- [sum_convergence](https://hilberon.com/library/sum_convergence)

  Test whether the sum of an expression over a variable converges.
- [product](https://hilberon.com/library/product)

  Product of an expression over one or more ranges.
- [numeric_product](https://hilberon.com/library/numeric_product)

  Multiply an expression over a range, as a decimal.
- [series](https://hilberon.com/library/series)

  Series expansion of an expression about a point.
- [next_terms](https://hilberon.com/library/next_terms)

  The terms that follow a list, given only when a rule explains it and predicts two more.

---
Source: https://hilberon.com/library/numeric_sum
