Hello Alan,
Thank you for your interest in Formulaic.
There is no summation function in the current version of Formulaic.
The type of problem you gave as an example is however something you
can solve with Formulaic by rewriting the equation. For some examples,
please take a look at the "Finance" group of equations in the built-in
library. There are equations for Future Value, Present Value, and Bond
Price, which compute something quite similar to your example, but with
the non-recurring-term version of the equation. As long as you are
dealing with a fixed payment amount, the equation can be rewritten in
this way (there isn't currently an easy way to deal with differing
cash flows in Formulaic).
Both "Time Value of Money" or "Bond Mathematics" can include details
on how to rewrite certain cases of the summation into an algebraic
equation. For some additional background, you could also visit:
en.wikipedia.org/wiki/Future_value
More built-in functions are on the to-do list for future versions of
Formulaic, and these will include additional financial functions. A
general purpose summation function is a lot more complex to implement
because of the implied recursion (the expression in the summation
function has to be evaluated many times as part of the whole equation
having to be evaluated many times to search for a solution).
Kind regards,
Hoy Moon