The issue is that in your Mathematica, the value of x is being updated each iteration through the "do" loop. Replace
確定! 回上一頁