What am I doing wrong with this cycle?



On 2013-07-18, Pyotr Ivanshin <pivanshin at gmail.com> wrote:

> f[0](z,t):=rw5*z^k+rw5*t^k;
> S:"ddc";
> M[0]:5;
> for j:1 thru slength(S) step 1 do (if charat(S, j)="a" then
> (M[j]:M[j-1]-2, h[j](z,t):=(M[j]
>  +1)*(M[j]+2)*integrate(f[j-1](z,t), t)/2, f[j](z,
> t):=-(1/4)*integrate(h[j](z, t)

<snip>

To debug this, replace integrate with 'integrate everywhere -- then we
will be able to see what integrations Maxima is trying to carry out.
e.g. f[1](z, t) would be something like (stuff) * 'integrate(more stuff).

best

Robert Dodier