Hello,

I would like to calculate the values per row of this equation :

(( y_{n+1} + y_{n} )/2)*( x_{n+1} - x_{n} )

but I have no idea.

Thanks in advance.

Hello,

I would like to calculate the values per row of this equation :

(( y_{n+1} + y_{n} )/2)*( x_{n+1} - x_{n} )

but I have no idea.

Thanks in advance.

I assume by n, you mean row n?

if so,

use a lag column first on column x and column y, so you have two new columns x+1 and y+1.

then use the Maths Formula node by entering the formula described in your post, selecting the x, y, x+1, y+1 columns.

simon.

Hello Simon,

Thank you very much for your answer. Your solution works very nicely :)