Skip to content

robkle/ComputerV1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ComputerV1

A program that solves a polynomial second or lower degree equation, without the use of special math libraries.

Output shows:

  • The equation in its reduced form.
  • The degree of the equation.
  • The solution.

Requirments

Python 3.8
regex module:
pip install regex

Usage

  • Terms are rational numbers or respect the from 'a * X[^p]'.
  • In the case of 'X^1', simply 'X' can be used.
  • Examples:
    • ./computer "5 * X^0 + 4 * X^1 - 9.3 * X^2 = 1 * X^0"
    • ./computer "5 + 4 * X + X^2 = X^2"

Note: Work in progress...

About

Simple polynomial equation solving program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages