Re: help^please
- To: mathgroup at smc.vnet.net
- Subject: [mg97948] Re: help^please
- From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
- Date: Thu, 26 Mar 2009 05:22:46 -0500 (EST)
- References: <gqd1o0$nqq$1@smc.vnet.net>
Homework alert!!! On Mar 25, 12:41 pm, Fabrizio <Tekciti... at hotmail.Com> wrote: > There are 3 small problems. > > 1)Using the functions: > > Position, ReplacePart, Take, Drop, Part, Rest, First and Last > > I have to get { { 1 } , { 2 , 3 , 4 , 5 , 6 } } out of Range[ 6 ] > > 2) Using the functions: > > Table, Random, Range > > I have to get { {0} , { 0 , 2 } , { 0 , 2 , 4 } , { 0 , 2 , 4 , 6 } , { 0= , 2 , 4 , 6 , 8 } } in TWO ways. > > ---> I found for this second problem: > > Table[ 2 * j - 2 , { i , 5 } , { j , i } ] > > but another method using the same functions ? > > 3)using the functions as in problem 1: > > Use the lists { a , b , c , d } and { 3 , 2 , 4 , 1 } to create the list = { c , b , d , a } in one step. > > complete moron