Expectation values in density-functional theory, and kinetic contribution to the exchange-correlation energy.