Question: Error, index must evaluate to a name when indexing a module

ADM-1.mw

I need a help for solving this non linear equation by Adomian Decomposition Method.How to find A0,A1,A2... and u1,u2,u3 and a series.I am getting this error,Please help me.

restart

PDEtools[declare](prime = x);

`derivatives with respect to`*x*`of functions of one variable will now be displayed with '`

(1)

equ1 := u[tt] = 1/2*(u[xx]+u[yy])+u^2:

ICS; u(x, y, 0) = 1, u[t](x, y, 0) = e^(x+y), lambda = 0, u[0] = 1+t*e^(x+y), F(u[0]) = u[0]^2

for n from 0 to 5 do A[n] := d^n*[F*(sum(lambda^i*u[i], i = 0 .. n))]/(factorial(n)*`dλ`^n); u[n+1] = (1/2)*int[diff(sum(u[n], n = 0 .. 5), x, x)+diff(sum(u[n], n = 0 .. 5), y, y), t = 0 .. t, t = 0 .. t, dt*dt]+int[A[n], t = 0 .. t, t = 0 .. t, dt*dt] end do

``

Download ADM-1.mw

Please Wait...