Skip to main content
15-Moonstone
November 19, 2022
Solved

Summation of the table values

  • November 19, 2022
  • 1 reply
  • 2043 views

Hello!

 

How can I sum all the values given in a table by using the Summation operator? Each row is n=1, n=2 and so on.

Please, take a look at the attached file.

Best answer by Werner_E

Its not clear to me what you are looking for or what result you expect

Is it something like this:

Werner_E_0-1668898669139.png

or do you expect a vector of values as result?

Werner_E_1-1668898776461.png

 

You should also know that the first index of a vector is by default 0, not 1. This behaviour can be changed by setting ORIGIN to a value other than zero.

What you calculated simply was 

Werner_E_2-1668898973223.png

Note that du.1*du.1 is a scalar vector product!

 

 

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
November 19, 2022

Its not clear to me what you are looking for or what result you expect

Is it something like this:

Werner_E_0-1668898669139.png

or do you expect a vector of values as result?

Werner_E_1-1668898776461.png

 

You should also know that the first index of a vector is by default 0, not 1. This behaviour can be changed by setting ORIGIN to a value other than zero.

What you calculated simply was 

Werner_E_2-1668898973223.png

Note that du.1*du.1 is a scalar vector product!

 

 

Sergey15-MoonstoneAuthor
15-Moonstone
November 19, 2022

Hello.

I was expecting the first result you listed.

Thank you.