Solved
Werner_EAnswer
25-Diamond I
February 25, 2025
The first argument in your function A.tot is without any use and so you should omit it.
Its not absolutely clear to me what you are trying to achieve.
Could it be that you are looking for some table of this kind

Another way to get the cumulative values would be by using integration again




