a collection of small c programs that do math.
distance [-h] [x1] [x2] [y1] [y2]
a simple cli tool for calculateing the distance between two points using the distance formula.
sides2ifExists [-h] [mesurement of side 1] [mesurement of side 2] [mesurement of side 3]
a simple tool that takes the sides of a triangle and determines if it exists. dont't worry about the sides being in the correct order; the program automaticaly sorts them in acending order before gatting the sum of the two least angles and compareing it. uses the triangle inequality theorem.
install gcc and git.
sudo apt update; sudo apt install gcc gitsudo dnf install gcc gitsudo pacman -Sy gcc gitgit clone https://github.com/kaispishock/mathmake shure you are in the repo's directory math/. run compile.sh.
./compile.shrun install.sh as root.
sudo ./install.shThis will place the compiled binaries into the /usr/bin directory, allowing them to be run from the shell without having to specify the path, regardless of working directory.