computorv1 is a command-line interface (CLI) application written in Rust that solves polynomial equations up to the second degree.
-
Solves linear equations (first degree,
ax + b = 0). -
Solves quadratic equations (second degree,
ax^2 + bx + c = 0). -
Handles both real and complex roots.
To use computorv1, run the compiled binary and input your equation:
./computor "2 * X^2 + 4 * X - 6 = 0"The solver will then output the roots of the equation.
The subject can be found here.
This project is part of the 42 School curriculum. Special thanks to the 42 School community for their support and resources.