Operators > Calculus Operators > Example: Summation and Product Operators
  
Example: Summation and Product Operators
Use the summation and product operators to add or multiply a sequence of terms. You can either cast the elements to be summed or multiplied as vectors, or you can implicitly specify the elements in the range of the operator itself.
Using the Operators to Calculate the Sum or Product of a Vector or Function
1. Define a range sequence.
Click to copy this expression
Click to copy this expression
Click to copy this expression
2. Use the summation and product operators to find the sum and product of the elements of vector v.
Click to copy this expression
Click to copy this expression
Click to copy this expression
When summing up the elements of a vector you can leave the bottom and top place holders empty, but you cannot leave them empty for the product operator.
3. Define a function and use the operators to find the sum and product of its elements.
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
The product operator returns 0 because the first element of the vector is 0. Adjust the lower and upper limits of the range sequence and reapply the product operator.
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Using Different Lower and Upper Range Limit Values
1. Set the lower limit=integer, upper limit=integer.
Click to copy this expression
Click to copy this expression
Click to copy this expression
The last element of the vector equals m+largest multiple of the step size and its value must be less than or equal to the upper limit of the range sequence.
Click to copy this expression
Verify that the next calculated element is larger than n and thus not added to the vector:
Click to copy this expression
Calculate the sum and product.
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
2. Set lower limit=real and upper limit=integer.
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Calculate the sum and product.
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
3. Set lower limit=real and upper limit=real.
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Calculate the sum and product.
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Perform Combinations of Summation and Product Calculations
1. Calculate summation of summation and summation of product by cascading the two operators.
Click to copy this expression
Click to copy this expression
2. Calculate product of summation and product of product by cascading the two operators.
Click to copy this expression
Click to copy this expression