The capacitor C is initially without charge. X is now joined to Y for a long time, during which H1 heat is produced in the resistance R. X is now joined to Z for a long time, during which H2 heat is produced in R during which H1 heat is produced in the resistance R. [...]