Question: how to write loop and solve the algebric expression?

Hi, how to write a loop and solve the algebraic expression? is the loop and do loop are the same thing? if different then pls mention how to solve the same question by using do loop?

 

solution_loop_help.mw

Please Wait...