MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

How can I do this?


Hi,

I have a problem I hope someone can help me with.

 I can do the following:
Define an array of arbitrary length as a = Array[c,n] ,  where n a given
integer value.
I can then construct a function f[x] as an expansion in terms of known
functions p[k,x] eg Legendre polynomials, as

f[x_]:= Sum[a[[k]] p[k, x], {k, 1, n}].   This then gives a general function
of the form

f[x] = c[1] p[1, x]+c[2]p[2, x] + ...which can be formally operated upon eg
by differentiation or integration.

My question is, How do I go about constructing a function similar to the one
above but now of two variables so that in the expansion

                               f[t,  x] = c[1] p[1, x]+c[2]p[2, x] + ...

the c's are functions of t  so that formal differentiations and integrations
with respect to t can be carried out on it.

Thanks,

   Bill Bertram






  • Prev by Date: Solving a special nonlinear differential equation
  • Next by Date: ShowLegend
  • Previous by thread: Solving a special nonlinear differential equation
  • Next by thread: Re: How can I do this?