Chapter 3. Βασική χρήση

Table of Contents

Χρήση της περιοχής εργασίας
Για να δημιουργήσετε ένα νέο πρόγραμμα
Για το άνοιγμα και την εκτέλεση ενός προγράμματος

Χρήση της περιοχής εργασίας

Κανονικά, αλληλεπιδράτε με την αριθμομηχανή στην καρτέλα κονσόλα της περιοχής εργασίας. Αν τρέχετε την κειμενική μόνο έκδοση, τότε η κονσόλα θα είναι το μόνο πράγμα που είναι διαθέσιμο σε σας. Αν θέλετε να χρησιμοποιήσετε το Εργαλείο μαθηματικών Genius ως αριθμομηχανή μόνο, πληκτρολογήστε απλά την παράστασή σας εδώ και η επιστρεφόμενη τιμή θα υπολογιστεί.

To evaluate an expression, type it into the Console work area and press enter. Expressions are written in a language called GEL. The most simple GEL expressions 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)

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

Suppose you have previously saved some GEL commands as a program to a file and you now want to execute them. To load this program from the file path/to/program.gel, type

genius> load path/to/program.gel

Genius Mathematics Tool keeps track of the current directory. To list files in the current directory type ls, to change directory do cd directory as in the UNIX command shell.