I've this problem with maple11;
when I try to assigne the elements of any array (Tent in this case) using a procedure inside a for loop:
for i from 1 to 7 do
christoffel[i] + v^i;
Maple dont understand that the 'i' inside the procedure is the same of the for loop. So after I've execute the for, i is actually 8, and if I write
instead I would
I've undersand that when I invoke Tent (or Tent, etc) maple control the actual value of i (that is 8), so I think this is a problem of scope of the i variable.
Someone can tell me how I must do?