Inspiration

We were tired of the laborious process of manually writing out a long truth table in our discrete math class, so we decided to take matters into our own hands and write an app to do it for us.

What it does

We iOS app generates truth tables using operators such as and, or, and not, and also takes precedence into account through parenthesis.

How I built it

Joseph built the front end of the app using Swift, while Nelson and Arjun wrote the back end using C.

Challenges I ran into

Getting Swift and C to work side by side, segmentation faults in the algorithm, iOS auto layout

Accomplishments that I'm proud of

We finished the app and it works which is more than we can say for our past Hackathon projects. We are very proud of our project and are excited to demo it.

What I learned

Dividing work is very efficient, large projects (like an application) require people with various expertise (one person can't write the whole app in a weekend)

What's next for Discrete Math

We plan to add advanced error checking, to partly redesign our algorithm, to add Siri shortcut support on iOS, and possibly to make an Android version.

Built With

Share this project:

Updates