How Sigma and Pi work
masterThe evaluator has built-in support for sequence operations.
- Sigma (Summation):
Sigma(start, end, n)calculates the sum of a sequence fromstarttoendusingnas the iterator. For example,Sigma(1,100,n)evaluates to5050. - Pi (Product):
Pi(start, end, n)calculates the product of a sequence fromstarttoendusingnas the iterator. For example,Pi(1,15,n)evaluates to1307674368000(which is 15!).