Different results on simulation, what am I doing wrong?

Printable View