Skip to content

lhutt-42/computorv1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

computorv1

computorv1 is a command-line interface (CLI) application written in Rust that solves polynomial equations up to the second degree.

Features

  • Solves linear equations (first degree, ax + b = 0).

  • Solves quadratic equations (second degree, ax^2 + bx + c = 0).

  • Handles both real and complex roots.

Usage

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.

Subject

The subject can be found here.

Acknowledgements

This project is part of the 42 School curriculum. Special thanks to the 42 School community for their support and resources.

About

CLI polynomial equations solver, as part of the 42 School computorv1 project.

Topics

Resources

Stars

Watchers

Forks