

While many expressions involving Pi (e.g. When Pi is used as a symbol, it is propagated as an exact quantity.Pi arises in many mathematical computations including trigonometric expressions, special function values, sums, products, and integrals as well as in formulas from a wide range of mathematical and scientific fields. Pi is defined as the ratio of the circumference of a circle to its diameter and has numerical value. Pi is the symbol representing the mathematical constant, which can also be input as ∖.

In closing, I must also say this: Your question was interesting enough to research, but strikes me as a silly idea for anyone with an even moderately capable laptop or desktop machine. Please refer to the sagemath GitHub site for other details. sagemath may also be run from the shell's command line interface. Shows us that version 8.6-6 is available as a direct install using apt, while the current version is 9.2, and could (probably) be built from source. If a "Matlab-clone" won't meet your needs, the package sagemath is more like Mathematica, and is also in RPi's package repository: apt-cache showpkg sagemath The project has an incoherent approach to managing the extensions which will waste your time. My personal experience with some of its "package extensions" is negative - very negative in fact. My positive recommendation for Octave ends with Octave itself. I've found Octave a decent package to use, but I don't do anything "heavy duty". This means you can run it from either the Lite or the Desktop distros of RPi OS. Octave can be run from either the GUI, or the command line. Informs us that the version is 4.4 (the current build is 6.1). Octave is in RPi's package repository: apt-cache showpkg octave If your needs for Mathematica can be satisfied by Matlab, then you may find GNU's Octave distribution worth a try - Octave tries its best to be a clone of Matlab. I'm not a user of Mathematica, but I have used Matlab in the past.
