Welcome to the System of Equations Solver! This app, built with Streamlit, allows you to solve systems of linear equations using Cramer's Rule. You can input your equations in matrix form, visualize them dynamically, and get a step-by-step solution.
-
Matrix Representation:
- Input your system of equations as a coefficient matrix (A) and a constant vector (B).
- Dynamically display the system in the form (AX = B), where:
- (A): Coefficient matrix
- (X): Variables (x, y, z,...)
- (B): Constants vector
- Beautiful LaTeX-rendered matrices and equations.
-
Equation Visualization:
- Automatically generates equations from your matrix inputs.
- Displays them with proper formatting in an easy-to-read form.
-
Dynamic Input Handling:
- Supports integer and float values:
- Integers are displayed without decimals (e.g., (5)).
- Floats are displayed with two decimal places (e.g., (5.20)).
- Supports integer and float values:
-
Scalable:
- Solve systems with 2 to 10 variables.
- Easily adapt to any problem size.
-
Real-time Solutions
- Get solutions for (x, y, z,...) instantly after clicking "Solve".
- Handles errors gracefully if the system is unsolvable, such as when the determinant of the coefficient matrix is zero.
Input the coefficient matrix (A) and constants vector (B) using a simple interface:
View your system of equations in matrix form:
Get the solution for (x, y, z,...) in real-time:
- Python 3.7 or higher
- Streamlit library installed
-
Clone this repository:
git clone https://github.com/ashish/soq-solver-cramer.git cd system-of-equations-solver -
Install dependencies:
pip install -r requirements.txt
-
Run the app:
streamlit run app.py
-
Open the app in your browser at http://localhost:8501.
βββ README.md
βββ app.py
βββ solve_cramers_rule.py
βββ requirements.txt
βββ ax_b_ss.png
βββ LICENSE
βββ equation_ss.png
βββ solu_ss.png
βββ icons8-github-50.png
Contributions are welcome! If you have ideas for new features or want to improve the app, feel free to fork the repository and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
- Built with Streamlit for an interactive interface.
- Inspired by the elegance of Cramer's Rule in linear algebra.
Enjoy solving your systems of equations effortlessly! π


