Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

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

  • ∑k=11001k2≈1.6349839001848923\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
  • sum

    Sum of an expression over one or more ranges.

  • sum_convergence

    Test whether the sum of an expression over a variable converges.

  • product

    Product of an expression over one or more ranges.

  • numeric_product

    Multiply an expression over a range, as a decimal.

  • series

    Series expansion of an expression about a point.

  • next_terms

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