Question: display in loop

Dear all;

I need your help to display the value of phi[jj] in the following loop. 

phi[1]:=(x,y)->exp(x-y);

for jj from 1 by 1 to 2 do
phi[jj+1]:=(x,y)->int(phi[1](x,s)*phi[jj](s,y),s=y..x);
end do;

 

but the index jj in the integral does not change. I have any idea what is the problem. 

Thank you very much for your help. 

 

 

Please Wait...