You can use this tool to solve the quadratic equations by using terminal.
-
Install Node JS
-
Clone the repository with the following command:
https://github.com/julikss/quadratic-equation-solver.git- Open the project folder and run command:
node main.jsThere are two modes - interactive and non-interactive(file mode). To choose a certain mode, user needs to enter a specific digit ("0" for interactive and "1" for non-interactive).
In interactive mode, user works with the terminal by entering coefficients of an equation.
In non-interactive mode, user needs to write the cofficients in txt file in format 'a b c' and then enter the file name to the terminal to launch the program.