Skip to main content
6-Contributor
Nov 2, 2026 9:43 AM UTC
Solved

Summation

Hi everyone, 
How to Create Summation from this Formula 

If you guys have any idea of this
Please tell me how to solve this

 

    LucMeekesAnswer
    23-Emerald V
    Nov 2, 2026 3:41 PM UTC

    By default, the origin of an array in Prime is 0, but you can define it to be 1.

    Here's an alternative method to define x1...x3:

    Note that the definition of x is regardless of the value of ORIGIN, and the first summation too. The second summation, with the index i, works only as expected when the ORIGIN is indeed set to 1.

     

    Success!
    Luc

    3 replies

    ttokoro
    21-Topaz I
    Nov 2, 2026 10:33 AM UTC

     

    Translate
    t.t.
    LucMeekes23-Emerald VAnswer
    23-Emerald V
    Nov 2, 2026 3:41 PM UTC

    By default, the origin of an array in Prime is 0, but you can define it to be 1.

    Here's an alternative method to define x1...x3:

    Note that the definition of x is regardless of the value of ORIGIN, and the first summation too. The second summation, with the index i, works only as expected when the ORIGIN is indeed set to 1.

     

    Success!
    Luc

    Translate
    5-Regular Member
    Nov 11, 2026 2:02 PM UTC

    Luc's explanation about ORIGIN is helpful here. Defining the values as a vector first makes the summation much easier to follow and check.

    Translate