TABULA - Getting Started

Introduction

TABULA is a 21-century scientific calculator.

To date, TABULA is available for j602. (Versions for j701 JHS and JGTK are under development.)

Install and run TABULA

Using the j602 Package Manager (menu: Run > Package Manager...) install the addons:

Enter:

   load 'math/tabula'

A new window appears:

../tabula01.jpg

Alter the value of item 1

Click on item 1. Its value appears in the input field.

Type-in (or overtype with) a new value and press Enter.

To undo the change: click ../tool04.jpg. To redo the change, Shift-click ../tool04.jpg.

Another way to alter the value of item 1

Select item 1.

Alter the value of item 2

Yes, unlike in Excel you can alter the value of a calculated item too!

It's a good idea to start with a fresh copy of the SAMPLE ttable. To reload it, Shift-click ../tool01.jpg.

Click on item 2. Its value (0.841) appears in the input field.

Now replace it with the value: 1.

You now see:

plot test
  ┌ ┌  1 @      1.571 rad  angle
┌ │ └> 2 @      1.000 /    sine
├ └>   3 @   3.357E-5 /    cosine
└>     4 @      1.000 /    sin+cos

The flag: @ shows that all items have changed. To compare changes, alternately click and shift-click ../tool04.jpg.

You see that item 1 changes to some value that yields the sine required (=1). The new value is then used to compute the cosine (item 3) and item 4 is recalculated from 2 and 3.

You also see that item 3 has changed to a very low value, but not quite 0. This happens here because the backfitting algorithm is only approximate.

Not every value you insert for item 2 will be accepted. Thus entering the value: 99 will trigger the error message:

As you'll recall, the sine of an angle cannot exceed 1.

Create a new calculated line

Item 4 is the sum of items 2 and 3. Let's create a new line like it.

Select lines 2 and 3 only.

Having selected 2 and 3, click ../tool05.jpg.

plot test
    ┌ ┌  1        1.000 rad  angle
┌ ┌ │ └> 2        0.841 /    sine
├ ├ └>   3        0.540 /    cosine
│ └>     4        1.382 /    sin+cos
└>       5 @      1.382 /    {2}+{3}

Select item 4 (it is redundant). Click ../tool03.jpg to delete it.

Adding a new non-calculated item from the Consts library

Click the tab consts. You see a display like this:

../tabula02.jpg

You may see more lines than you want to read through.

Suppose you want the mass of the Moon. Type: moon into the selection string and press Enter.

Once you see the line you want, select it and click "Append".

The Constants library: consts

The Consts library is held in a file: uuc.ijs. To add to this file: click ../tool28.jpg. The file itself contains brief instructions.

The Consts library serves both to store physical constants and to define scientific units. In order to combine both roles, every constant is given its own unique units. Thus: "mean distance; earth-moon" (defined as 3.84e8 m) is assigned "pseudo-" units [ea.moon]. When you "Append" it you will see:

plot test
  ┌ ┌  1        1.000 rad      angle
┌ │ └> 2        0.841 /        sine
├ └>   3        0.540 /        cosine
└>     4        1.382 /        sin+cos
       5        1.000 ea.moon  mean distance; earth-moon!

The new item shows the distance as "one earth-moon units", not [m] as the consts display shows.

You have a choice of ways to change the new units to familiar ones (eg to show: 3.84e8 m):

The Functions library: functs

../tabula03.jpg

This tab lets you select from a library of calculations. It behaves like the Constants display: consts.

When you click "Append", a new calculated item is added to the ttable, PLUS all the feeder items it needs.

You can then alter the feeders' names and values, or (more commonly) you will merge ../tool25.jpg each feeder with an existing item. Items for merging must be compatible, ie each convertible into the other.

The Information display: info

../tabula04.jpg

This serves to display various sorts of Help text: ../tool29.jpg ../tool30.jpg

It also lets you add a note to be saved with the ttable (called ttinfo). The note will display here when you click ../tool31.jpg.


Contributed by IanClark

CategoryWorkInProgress

TABULA/TabulaGettingStarted (last edited 2011-11-24 09:41:17 by IanClark)