I have a function say f(tau)=lambda(tau) /exp(t-tau) where lambda is not an explicit function of tau. lambda has numeric values that are created inside a for loop and within each loop i need the integral value of f(tau) that considers all the value of lambda current and past. how do I do it? Please anyone can help?
I have attached an example code so it's easies to follow.