Dear Chebfun users,
I have a problem that I have been trying to solve for several days, but unfortunately without great success.
Let us assume that a function f(x) defined on [0;1] is known and an expression to be calculated is of the form:
where B is a variable integration limit varying between 0 and 1, to finally plot the results A as a function of B.
My problem is related to the definition of B, because I do not see how to define the variable range in the use of cumsum (for the first integral) and in sum - cumsum (for the second integral).
Thanks in advance for any help
Best wishes
Oliver