Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #7250 > unrolled thread
| Started by | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| First post | 2011-12-16 10:53 +0000 |
| Last post | 2011-12-16 10:53 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: integrate a sum using Mathematica Bob Hanlon <hanlonr357@gmail.com> - 2011-12-16 10:53 +0000
| From | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| Date | 2011-12-16 10:53 +0000 |
| Subject | Re: integrate a sum using Mathematica |
| Message-ID | <jcf7v5$6pi$1@smc.vnet.net> |
I don't know what you are trying to do. One of these may be close.
Clear[f, x]
n = 3;
var = Array[x, n]
{x[1], x[2], x[3]}
Total[Integrate[f[#], {#, 0, Infinity}] & /@ var]
Integrate[f[x[1]], {x[1], 0, Infinity}] +
Integrate[f[x[2]], {x[2], 0, Infinity}] +
Integrate[f[x[3]], {x[3], 0, Infinity}]
Integrate[Total[f /@ var], Evaluate[Sequence @@ ({#, 0, Infinity} & /@ var)]]
Integrate[f[x[1]] + f[x[2]] + f[x[3]], {x[1], 0, Infinity}, {x[2], 0,
Infinity}, {x[3], 0, Infinity}]
Bob Hanlon
On Thu, Dec 15, 2011 at 4:54 AM, <rana_dandis@yahoo.com> wrote:
> How can I integrate a sum using Mathematica
>> eg polyIntegrate[Sum[f[x_[[i]]],{i,1,n}],{x[[i]],0,infinty}]
>> am new in using Mathematica ,,,i have version 7
>
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web