For $$\mathrm{p}, \mathrm{q} \in \mathbf{R}$$, consider the real valued function $$f(x)=(x-\mathrm{p})^{2}-\mathrm{q}, x \in \mathbf{R}$$ and $$\mathrm{q}>0$$. Let $$\mathrm{a}_{1}$$, $$\mathrm{a}_{2^{\prime}}$$ $$\mathrm{a}_{3}$$ and $$\mathrm{a}_{4}$$ be in an arithmetic progression with mean $$\mathrm{p}$$ and positive common difference. If $$\left|f\left(\mathrm{a}_{i}\right)\right|=500$$ for all $$i=1,2,3,4$$, then the absolute difference between the roots of $$f(x)=0$$ is ___________.
Let $$x_{1}, x_{2}, x_{3}, \ldots, x_{20}$$ be in geometric progression with $$x_{1}=3$$ and the common ratio $$\frac{1}{2}$$. A new data is constructed replacing each $$x_{i}$$ by $$\left(x_{i}-i\right)^{2}$$. If $$\bar{x}$$ is the mean of new data, then the greatest integer less than or equal to $$\bar{x}$$ is ____________.
$$\lim\limits_{x \rightarrow 0}\left(\frac{(x+2 \cos x)^{3}+2(x+2 \cos x)^{2}+3 \sin (x+2 \cos x)}{(x+2)^{3}+2(x+2)^{2}+3 \sin (x+2)}\right)^{\frac{100}{x}}$$ is equal to ___________.
The sum of all real values of $$x$$ for which $$\frac{3 x^{2}-9 x+17}{x^{2}+3 x+10}=\frac{5 x^{2}-7 x+19}{3 x^{2}+5 x+12}$$ is equal to __________.