Worked example
Heating 2 kg of water by 10 K with constant specific heat 4184 J/kg·K requires 83,680 J. An ideal gas of one mole at 300 K in 0.025 m³ has pressure near 99.8 kPa.
Limitations
No phase changes, real-gas corrections or heat loss are modeled. Temperature for the gas law is in kelvin, not Celsius.