Ex5: new learning curves solution