NON-LINEAR DYNAMICS OF THE GENERALIZED CARNOT PROBLEM: MAXIMUM WORK RECEIVED IN A FINITE TIME FROM A SYSTEM OF TWO CONTINUA WITH DIFFERENT TEMPERATURES