Giter Site home page Giter Site logo

gaussianjordanelimination's Introduction

Gaussian-Jordan Elimination

A program that takes in an augmented matrix and solves it by putting it into RREF (Reduced Row-Echelon Form). It tells whether the matrix can be solved or not and the solutions if possible.

Disclaimer

This is meant to be used for demonstration purposes only. DO NOT USE THIS PROGRAM TO CHEAT IN ANY EVALUATIONS!! I am NOT responsible for any of your academic misconduct charges due to usage of this program.

Try It Out!

Run the Repl here: https://repl.it/@CalebLam14/GaussianJordanElimination#Main.java

How to Use

This program can solve systems of equations like this.

(x1) + 2(x2) + 3(x3) = 5
7(x1) + 4(x2) + 8(x3) = 16
2(x1) + 4(x2) + 6(x3) = 20
  1. Specify the number of rows and columns. Let m and n be the number of rows and columns respectively. E.g. 3 3 for 3 columns and 3 rows, and 2 4 for 2 columns and 4 rows.
  2. For each m rows, insert the coefficients of the variables that belong in that rows and nth column. There should be n + 1 columns in each row, as the element in the (n + 1)th column is one of the constants. 0's must be included as coefficients! E.g. 1 2 4 8 16 will make the row in the augmented matrix [1 2 4 8 | 16] with 16 being the constant. This example row represents the equation (x1) + 2(x2) + 4(x3) + 8(x4) = 16.
  3. Watch the magic happen! You will see the matrix you initially built and the result of the operation.

gaussianjordanelimination's People

Contributors

clameater14 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.