Question: Why my function outcome not working?

my iteration u[i] in last step not working as i want where is the issue?

b1.mw

Please Wait...