       Re: General form of a summation as a function of 2 variables

• To: mathgroup at smc.vnet.net
• Subject: [mg97404] Re: General form of a summation as a function of 2 variables
• From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
• Date: Thu, 12 Mar 2009 05:42:26 -0500 (EST)
• Organization: Uni Leipzig
• References: <gpacu6\$mtl\$1@smc.vnet.net>

```Hi,

Sum[ (k/n), {k, 0, n}]

gives

(1+n)/2

But it depends clearly on the sum you have.

Regards
Jens

David Diez wrote:
> My goal is to have a general form of a summation that is a function of two variables, and would like to see if Mathematica can be used to determine the general form.
>
> For example, with a single variable, is there a way to get Mathematica to take
>
> sum_{k=0}^n (k/n)
>
> and determine the general formula for the sum (as a function of 'n') is (n+1)/2?
>
> The problem I am looking at is a bit more complicated (incorporates a five factorials) and is a function of two variables, m and n. I have never programmed in Mathematica (but do have programming experience in a few languages), and any direction on what resources or functions are appropriate for this sort of problem would be greatly appreciated. If this sort of thing can only be done in one variable, that would also be very useful since I'll just look at a particular case (when the two variables are equal: m=n).
>
> Thanks much for any help,
> David
>

```

• Prev by Date: Re: Compile for different parameter types
• Next by Date: Re: reversing axes orientation
• Previous by thread: Re: General form of a summation as a function of 2 variables
• Next by thread: Re: General form of a summation as a function of 2 variables