J.R. S. answered 12/18/21
Ph.D. University Professor with 10+ years Tutoring Experience
ΔU = q + w
ΔU = change in internal energy = ?
q = heat = + 24.3 J (+ because heat is absorbed)
w = work = -PΔV = -pressure x change in volume
w = -120kPa x1 atm/101.325 kPa x 0.30 L
w = -0.355 L-atm x 101.325 J/Latm = -36 J (- because work is done by the system)
ΔU = q + w = 24.3 J - 36 J = -11.7 J
please be sure to check the math.
please note I changed kPa to atm and then changed Latm to joules.