While reading Griffiths' Introduction to Quantum Mechanics, I met the expected value
$$ \langle x \rangle = \int \varPsi^\ast(x )\varPsi (x) \,\mathrm d x$$
and I have got some questions on this. The book says that
$$\langle p \rangle = \int \varPsi^\ast \left(\frac{\hbar} i\frac{\partial}{\partial x} \right) \varPsi (x) \,\mathrm d x$$
and from thease equations comes
$$\langle Q(x,p)\rangle =\int \varPsi^\ast Q \left( x,\frac{\hbar}i\frac{\partial}{\partial x} \right) \varPsi (x) \, \mathrm d x$$
Here $ \langle Q(x,p)\rangle $ means "the expectation values of such a quantity", where such refers to the first two equations. But I can't understand, what expectation value is:
Is it energy? What will we get if the particle's momentum is $p$ and the position is $x$? Or does it mean something widely different?
I couldn't find any information in the book about $Q$ inside the integral. What doest that mean?