Update logica week5.tex