MathGroup Archive 2003

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

Search the Archive

Re: sum with lists

  • To: mathgroup at smc.vnet.net
  • Subject: [mg40558] Re: sum with lists
  • From: Olaf Rogalsky <Olaf.Rogalsky at physik.uni-erlangen.de>
  • Date: Thu, 10 Apr 2003 03:37:15 -0400 (EDT)
  • Organization: University of Erlangen, Germany
  • References: <b70npo$9gd$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Nathan Moore wrote:
> I tried
>     Sum[d[[i, 1]]*d[[i, 3]], {i, 0, 10}]
> with little success
The first element of a list in mathematica is 1, not 0.

Sum[d[[i, 1]]*d[[i, 3]], {i, 1, 11}]

-- 
+----------------------------------------------------------------------+
I Dr. Olaf Rogalsky                         Institut f. Theo. Physik I I
I Tel.: 09131 8528440                       Univ. Erlangen-Nuernberg   I
I Fax.: 09131 8528444                       Staudtstrasse 7 B3         I
I rogalsky at theorie1.physik.uni-erlangen.de  D-91058 Erlangen           I
+----------------------------------------------------------------------+


  • Prev by Date: Re: How to get Mathematica to actually *add* fractions?
  • Next by Date: Re: sum with lists
  • Previous by thread: Re: sum with lists
  • Next by thread: Re: sum with lists