Chapter 3. Basic usage

3.1. Using the workarea

Normally you interact with the calculator in the Console tab of the work area. If you are running the text only version then the console will be the only thing that is available to you.

Type your expression into the Console workarea and press enter and the expression will be evaluated. To load a program, type

genius> load path/to/program.gel
To list files in the current directory type ls, to change directory do cd directory as in the unix command shell.

To get a list of functions and commands, type:

genius> help

If you wish to get more help on a specific function, type:

genius> help FunctionName

To view this manual, type:

genius> manual

The most simple GEL (The Genius Extension Language, or George‘s Ego Leverage) expression just looks like mathematics. For example

genius> 30*70 + 67^3.0 + ln(7) * (88.8/100)
or
genius> 62734 + 812634 + 77^4 mod 5
or
genius> | sin(37) - e^7 |
or
genius> sum n=1 to 70 do 1/n
(Last is the harmonic sum from 1 to 70)