Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadAmas authored Aug 14, 2023
1 parent 7cc3113 commit 94fbd09
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Gauss-Jordan Elimination Algorithm

Welcome to the Gauss-Jordan Elimination Algorithm! 🚀

This Python script, `gaussJordan.py`, implements the Gauss-Jordan elimination method. It takes user input to create a matrix and performs Gauss-Jordan elimination to solve systems of linear equations or find the inverse of the matrix.

## How to Use

1. Download the `gaussJordan.py` file.
2. Run the script using a Python interpreter.
3. Follow the prompts to input the matrix size and values, and specify pivot element coordinates.
4. The script will display matrix transformation steps, solving for pivot elements and pivot values, until you exit with invalid pivot coordinates.

## Example

Here's an example of using the script:

```shell
$ python gaussJordan.py
Enter Number of rows: 3
Enter Number of columns: 3
Enter Numbers in Matrix 11: 2
Enter Numbers in Matrix 12: 1
Enter Numbers in Matrix 13: -1
... (input continues)

0 comments on commit 94fbd09

Please sign in to comment.