Octave

Octave is a high-level language initially developed for numerical operations. It provides a command line interface for solving both linear and non-linear numerical problems.
It is considered the free equivalent of MATLAB. Among several features they share, it is worth noting that both offer an interpreter, allowing you to execute commands in interactive mode.