Table / TableForm Question
- To: mathgroup at smc.vnet.net
- Subject: [mg85524] Table / TableForm Question
- From: "Lea Rebanks" <lrebanks at netvigator.com>
- Date: Wed, 13 Feb 2008 04:18:24 -0500 (EST)
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...