Links to other topics
List of Statements Story Problem Index
Anglish Features Examples of Tables
Labeled Multiple Charts The Together Story Problems

Three Dimensional Tables

In the following three dimensional table generated from two similar together problems, first person$ refers to Bill and Ben, second person$ refers to Sue and Marge, Combined$ refers to Bill&Sue and Ben&Marge. Thus using Anglish for restricted plurals, the program is:

                 --------------------------------
                /| Ben       /                 / | 
              ---------------------------------  |
           /  | Bill    | rate | time | effort| /|
          -------------------------------------  | 
          |first person |                     |  |
          ---------------                        |
          |second person|                     |  |
          ---------------                        |
          | combined    |                     | /
          ------------------------------------- 
          For first person$ and Combined$:
               rate$ = effort$ / time$.
          For second person$:
               rate$ = combined$ rate - first person$ rate;
               time$ = effort$ / rate$.
          End.

The program is very compact, but how do you enter three dimensional tables? One two-dimensional table plane at a time! The first plane is the front plane of the diagram sketch given above. The second plane is the table for the first problem. The third plane is the table for the second problem. The entire data and program then is:

          Compute times:
          ------------------------------------
          |             | rate | time |effort|
          ------------------------------------
          |first person |                    |
          ---------------                    |
          |second person|                    |
          ---------------                    |
          | combined    |                    |
          ------------------------------------ 

          ------------------------------------
          |             | rate | time |effort|
          ------------------------------------
          | Bill        |      |   5  |   1  |
          ------------------------------------
          | Sue         |      |      |   1  |
          ------------------------------------
          |Bill&Sue     |      |   2  |   1  |
          ------------------------------------

          ------------------------------------
          |             | rate | time |effort|
          ------------------------------------
          | Ben         |      |   5  |   1  |
          ------------------------------------
          | Marge       |      |      |   1  |
          ------------------------------------
          |Ben&Marge    |      |   3  |   1  |
          ------------------------------------

          For first person$ and combined$:
               rate$ = effort$ / time$.
          For second person$:
               rate$ = combined$ rate - first person$ rate;
               time$ = effort$ / rate$.
          END.

The above is an example of combining two or more related story problems into one Anglish program by using three dimensional charts. Another type of story problem requires multiple labeled charts just to organize the data.