Answer :
35 joule is the change in internal energy when a gas does 189 j of work while expanding, and at the same time it absorbs 154 j of heat.
w= -189
q=154
E=w+q
E= -189+154
E=-35 joule
Internal energy is a property or state function in thermodynamics that describes a substance's energy when capillary effects and the effects of external magnetic, electric, and other fields are not present. As with any other state function, the energy's value depends on the substance's state rather than the kind of methods employed to get there. The first law of thermodynamics states that when a system changes state as a result of a process in which only work is involved, the work is equal to the change in internal energy.
To know more about internal energy visit : https://brainly.com/question/11278589
#SPJ4