I want to calculate Mean Residence Time of a Residence Time Distribution (RTD) Curve from tracer experiments. I have tried with the integral formula as can be found in the article attached but it seems that I am calculating wrongly every time. It will be most helpful if someone can show me with an example. The data can be taken from the attached excel file.