sum with lists
- To: mathgroup at smc.vnet.net
- Subject: [mg40534] sum with lists
- From: "Nathan Moore" <nmoore at physics.umn.edu>
- Date: Wed, 9 Apr 2003 20:26:04 -0400 (EDT)
- Organization: University of Minnesota, Physics
- Sender: owner-wri-mathgroup at wolfram.com
Another list question. Suppose that I have the list d={ {x0,y0,z0}, {x1,y1,z1}, {x2,y2,z1}, ... {xn,yn,zn}} and now I'd like to calculate the sum, Sum[x[i]*z[i],{i,0,n/2}] I tried Sum[d[[i, 1]]*d[[i, 3]], {i, 0, 10}] with little success thanks, Nathan Moore, University of Minnesota Physics
- Follow-Ups:
- Re: sum with lists
- From: Dr Bob <majort@cox-internet.com>
- Re: sum with lists