MathGroup Archive 1999

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

Search the Archive

Re: Multiple Integrals

  • To: mathgroup at smc.vnet.net
  • Subject: [mg20043] Re: Multiple Integrals
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Sat, 25 Sep 1999 18:46:07 -0400
  • References: <7sho3b$1js@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

George Szpiro <george at netvision.net.il> wrote in message
news:7sho3b$1js at smc.vnet.net...
> Hello everybody,
>
> I am trying to evaluate multiple integrals of the following form:
>
> Integrate[1,
>   {x[1], 0, 1},
>   {x[2], k[1], x[1]},
>   {x[3], k[2], x[2]},
>   {x[4], k[3], x[3]}
>   ]
>
> This works! However, when I try to compactify this in the following
> manner
>
>  Integrate[1,
>   {x[1], 0, 1},
>   Table[{x[n], k[n - 1], x[n - 1]}, {n, 2, 4}]
>   ]
>
>
> it doesn't work. I think I got something with the Table wrong. Why?
>
> Can anyone help?. Please answer to my home mailbox:
> george at netvision.net.il
>
> Thank you,
>
> George Szpiro

George:
Table is fine, but you get

Integrate[1,
{x[1], 0, 1},
 { {x[2], k[1], x[1]}, ...} ]

Try

Integrate[1,
  {x[1], 0, 1},
 Sequence@@Table[{x[n], k[n - 1], x[n - 1]}, {n, 2, 4}]
 ]


Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565








  • Prev by Date: Re: Variables[] in general expressions
  • Next by Date: Re: Select cell
  • Previous by thread: Re: Multiple Integrals
  • Next by thread: iMath - Web gateway to Mathematica