Skip to main content

This Python script is designed to solve simple linear equations with one unknown variable (denoted as `x`). The equation can involve addition, subtraction, multiplication, or division. The script handles equations in various formats, such as `x + a = b`, `a - x = b`, `x * a = b`, and others, and calculates the value of `x` accordingly.

Project description

Equation Solver Pro

This Python script is designed to solve simple linear equations with one unknown variable (denoted as x). The equation can involve addition, subtraction, multiplication, or division. The script handles equations in various formats, such as x + a = b, a - x = b, x * a = b, and others, and calculates the value of x accordingly.

Features:

  • Handles equations where x is either on the left or right side of the operator.
  • Supports basic arithmetic operations: addition (+), subtraction (-), multiplication (*), and division (/).
  • Provides error handling if the input format is incorrect.

Supported Equation Formats:

  • x+a=b

  • a+x=b

  • x-a=b

  • a-x=b

  • x*a=b

  • a*x=b

  • x/a=b

  • a/x=b

  • Use only 'x' as a variable. Here 'a' and 'b' are constants(integers).

Installation

pip install equation-solver-pro

License

This project is licensed under the MIT License. See the LICENSE file for details.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

equation_solver_pro-0.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

equation_solver_pro-0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file equation_solver_pro-0.1.tar.gz.

File metadata

  • Download URL: equation_solver_pro-0.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.0

File hashes

Hashes for equation_solver_pro-0.1.tar.gz
Algorithm Hash digest
SHA256 3044db8906963e9f553fc81d8c8199ec3bce97e6c7463962dc81ebdef5b7b8ed
MD5 816beb54fe7eb32ec0cb6ab358a3ab80
BLAKE2b-256 c9379d30db6c0036e7064adcd5d78cea43605490dea9bb4c62970b8151573e50

See more details on using hashes here.

File details

Details for the file equation_solver_pro-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for equation_solver_pro-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c487737198683f781ec25e22f3f07ac1be3367450db5475da4c2d4d27def1606
MD5 09e5c85cf5c6721cdb5aedc25053c5b6
BLAKE2b-256 432414881629a3a8b07719d1cb75b545edf8ad04fb34cece3b7a90805eeacf29

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page