hey . my question is:

cylinder Contain a gas . if the piston makes Pressure = 3×10^5 n/m^2

on one kilogram of the gas .

if we cooled the gas ، the volume of gas shorten from 0.1 m^3 to 0.03 m^3

and the internal energy increase from 4.18 kj/kg to 16.72 kj /kg .


1- find the work ?

2- find the heat ?