Avoid using this tag as it is vague.
I have a similar challenge to a previous post: How to pass vector to integrate function I have a function …