Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'How to Add Pairs of Numbers in a List' topicStudent Support Forum > General > Archives > "How to Add Pairs of Numbers in a List"

Next Comment >Help | Reply To Topic
Author Comment/Response
Jen
01/20/13 4:41pm

I am trying to do the following:

I have Mathematica generating 300 pairs of random integers between 1 and 6. So I have an output that is a list of 300 {x,y} pairs. I want to add each of the pairs so that I have a list of 300 sums (each being {x+y}). Can anyone explain to me how I can do this? I have searched all over and can't find anything so far that works.

URL: ,

Subject (listing for 'How to Add Pairs of Numbers in a List')
Author Date Posted
How to Add Pairs of Numbers in a List Jen 01/20/13 4:41pm
Re: How to Add Pairs of Numbers in a List Bill Simpson 01/20/13 8:06pm
Re: Re: How to Add Pairs of Numbers in a List Jen 01/20/13 9:31pm
Re: Re: How to Add Pairs of Numbers in a List yehuda 01/21/13 00:30am
Next Comment >Help | Reply To Topic