• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Formula explain

turkalturk

New Member
Remember to include links to your duplicate posts in other forums
Moderator note: CAN SOMEONE EXPLAIN THIS FORMULA AND ITS RESULT (( avoid shouting ))
Can Someone Explain This Formula And Its Result
=REDUCE(0,H7:H10,LAMBDA(a,b,VSTACK(TAKE(a,1),a+b)))
column H
1
2
3
4

and result is
0
4
7
9
10

Kindly explain
 
Firstly TAKE(a,1) is always 0. If one concentrates on the first difference of the sequence at each reduce step, one sees that adding a scalar b to the array a leaves differences unaltered. The new sequence starts with b and then has the 0 inserted, creating a difference of b.

At the next step the value has increased by 1, so the differences form a decreasing series and the second differences are -1. The quadratic curve this maps out terminates when the maximum value is attained.

1730757723702.png
 
Back
Top