A system absorbs 900J of heat from the surroundings and does a work of 450J. Change in internal energy during the process is
Heat absorbed by the system, q=+Ve ; Workdone by the system , W=- -Ve ;
∆E=+900J-450J=+450J