# Heat contained in compressed gas [closed]

I am trying to compute the amount of energy released in the form of heat if I compress 1 cubic meter of Hydrogen to 0.1 cubic meter while submerged in a large body of water of a given temperature - say 300 degrees Kelvin.

Would someone smarter that I am be able to show me the appropriate formula and the computations to arrive at the result in Joules?

Welcome to Physics! Please see our homework policy. We expect homework problems to have some effort put into them, and deal with conceptual issues. If you edit your question to explain (1) What you have tried, (2) the concept you have trouble with, and (3) your level of understanding, I'll be happy to reopen this. (Flag this message for ♦ attention with a custom message, or reply to me in the comments with @Manishearth to notify me) –  Manishearth Jan 30 '13 at 4:25