Re: Table / TableForm Question
- To: mathgroup at smc.vnet.net
- Subject: [mg85546] Re: Table / TableForm Question
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 13 Feb 2008 06:54:44 -0500 (EST)
- Organization: Uni Leipzig
- References: <foudj3$lpq$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
Hi,
Table[Table[i*j, {i, 1, 7 - j}], {j, 1, 6}]
??
Regards
Jens
Lea Rebanks wrote:
> Hi All,
>
> Simple question from the Homework section HW06.nb - Number 7.
>
> Use nested " Table[]" commands to create the following list display:
>
> TableForm[{{1, 2, 3, 4, 5, 6},
> {2, 4, 6, 8, 10}, {3, 6, 9, 12},
> {4, 8, 12}, {5, 10}, {6}}]
> {
> {1, 2, 3, 4, 5, 6},
> {2, 4, 6, 8, 10, },
> {3, 6, 9, 12, , },
> {4, 8, 12, , , },
> {5, 10, , , , },
> {6, , , , , }
> }
>
> Here is what it should look like Displayed:-
> 1 2 3 4 5 6
> 2 4 6 8 10
> 3 6 9 12
> 4 8 12
> 5 10
> 6
>
>
> Here is my attempt.
>
> Table[i*j, {i, 6}, {j, 6}]
> {{1, 2, 3, 4, 5, 6}, {2, 4, 6, 8,
> 10, 12}, {3, 6, 9, 12, 15, 18},
> {4, 8, 12, 16, 20, 24},
> {5, 10, 15, 20, 25, 30},
> {6, 12, 18, 24, 30, 36}}
>
> ... I'm not quite there as you can see.
>
>
> Any help & advice gratefully received.
> Many thanks for your help & attention.
>
> Best Regards - Lea Rebanks...
>