I need some advice to get the right formulation of summation inside the Do-Loop. I have tried to use Block so that the variables are independent from the iterators inside the looping, but it was unsuccessful.
Please help me to imrpove the formulation.
Thank you in advance for any help.
Attachment: exercise_Do.nb, URL: ,