Inspiration

We love math, but we are prone to mistakes in our Algebra II homework. It's infuriating when you miss easy points because of human err. We need something that can reliably and autonomously solve algebraic equations.

What it does

Our program takes can solve three different types of algebraic problems: basic algebra equations, 2-variable systems of equations and quadratic equations. Choose which function you want to compute, enter an equation, and the program will give you an answer. You can find our code at link

How I built it

We separated each equation into two expressions, one on the right side and left side. It then simplifies each expression by combining like terms. After each side is in simplest form, they are compared to each other depending on the function. We were able to do this by iterating through lists, creating objects for each unique variable, and lots of if statements.

Challenges I ran into

Right away, we were stuck at how to visualize the process. As we began programming, our code became very complex, and it was hard to wrap even our own heads around it. It was important to take breaks to make flowcharts and describe our approaches to problems.

Accomplishments that I'm proud of

A broad accomplishment was that we were able to make an expression with variables into a list of values that a computer can utilize. One specific success was that no matter how many variables are in an expression, the program will combine all of the like terms until the expression is simplified.

What I learned

We definitely learned many ways to manipulate and play with lists in python. We also learned the importance of communication and planning ahead. Taking half an hour before you start to discuss how you are going to code your project is absolutely worth it.

What's next for Algebra Calculator

We want it to be more flexible, able to take on general cases. Right now, the parameters are a little too restricting. After that, we want it to be able to solve more complex equations, such as those containing radicals or 'i'.

Built With

Share this project:

Updates