Install spigot by entering the following commands in the terminal:
sudo apt update sudo apt install spigot
Description:
Exact real calculator
spigot is an exact real calculator: that is, you give it a mathematical expression to evaluate, and it computes it to any desired precision, by default simply printing digits to standard output until it is interrupted.
Homepage: http://www.chiark.greenend.org.uk/~sgtatham/spigot/
Version: 0.2017-01-15.gdad1bbc6-1
Section: universe/math