I defined this function
getInt[ptmin_, ptmax_, sqrts_] :=
(
Reduce[4 ptmin^2/sqrts^2 < 1 - x^2 < 4 ptmax^2/sqrts^2]
);
which solves an inequality. It returns for example
In: getInt[50, 250, 1000] // N
Out: -0.994987 < x < -0.866025 || 0.866025 < x < 0.994987
I need to integrate a function over these intervals so I want to use these results on an integral. How to extract these values from the output of Reduce?
For example, I want to store these values on 4 variables
xmin1 = -0.994987
xmax1 = -0.866025
xmin2 = 0.866025
xmax2 = 0.994987