# 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?

 This question will inevitably be flagged as a homework question and will remain unanswered unless you tag it as homework and try to tell us what you've done to try to solve it thus far. – joshphysics Jan 30 at 2:11 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 at 4:25 @joshphysics: You can flag as well. "Doesn't belong here"->"too localized" works, or a custom flag saying "homework" is fine as well. – Manishearth♦ Jan 30 at 4:26