I have the following lines:
h[0]=1;
x[t_]:=2^h[t] - 3*h[t-1];
Table[h[t]=h[t]/.FindRoot[x[t]==t,{h[t],2}],{t,1,5}]
As you can see, I am trying to solve for different values of h[t], which
is recursively depends on h[t-1].
MMA (3.0) gives a bunch of errors such as
Unset:: norep: Assignment on h for h[1] not found.
and so on.
However, it also gives the correct answers at the end.
What is going on? Am I doing something wrong?
**********************************************************
Hossein Kazemi
University of Massachusetts