Solved
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

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.



