You have a line
t<--i*Delta_t
but nothing in the loop depends on t, so that line has no effect. Also, arrays default to 0, not 1, origin in Mathcad, so your loop should probably start at 0.
Can't say any more than that without more information. We need a worksheet that has defined variables that allow the program to actually run.