If you want to evaluate several commands, you can enter an interactive
giac session by entering the command icas (or
giac) by itself at a command prompt. You will then be given
a prompt specifically for giac commands, which will look like
You can enter a giac command at this prompt and get the result.
0>> factor(x^2-1)
(x-1)*(x+1)
1>> |
After the result, you will be given another prompt for giac
commands. You can exit this interactive session by typing
Ctrl+D.Alternatively, you can run icas
in batch mode; that is, you can have icas run giac
commands stored in a file. This can be done in Windows as well as Unix
and Mac OS. To do this, simply enter
in a command prompt, where filename is the name of the file
containing the giac commands.