MathGroup Archive 2008

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

Search the Archive

Re: Table / TableForm Question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg85564] Re: [mg85524] Table / TableForm Question
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Wed, 13 Feb 2008 07:46:12 -0500 (EST)
  • Reply-to: hanlonr at cox.net

Table[i*j, {i, 6}, {j, 7 - i}] // TableForm


Bob Hanlon

---- Lea Rebanks <lrebanks at netvigator.com> 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...
> 



  • Prev by Date: Re: RE: Re: How should I start with
  • Next by Date: Re: How should I start with mathematica?
  • Previous by thread: Re: Table / TableForm Question
  • Next by thread: Help with NMinimize of NIntegrate function