CalCulator is a modern, aesthetic user interface implemented in Python using a customization of the Tkinter library in Python. This application emulates a calculator, enabling users to perform complex algebraic, vector, and calculus computations. It also features capabilities to solve complex word problems using the ChatGPT API as well as graph and solve specified formulas.
The program utilizes Sympy, NumPy, and SciPy for evaluating symbolic expressions.
To run the code on your local machine, follow these steps:
1. Clone the repository:
git clone https://github.com/brmattos/CalCulator.git2. Install required dependencies and modules:
pip install -r requirements.txt3. Get OpenAI API Key (Optional)
The word problem solution feature utilizes the OpenAi API and therefore an api key.
If you would like to try the feature, you can find that information here: OpenAI API key
- The calculator page provides a user-friendly interface for performing various mathematical calculations.
- It supports complex algebraic expressions, derivatives, integrals, and more.
- Users can enter mathematical expressions and obtain calculations instantly.
- The vector functions page allows users to perform various vector-related calculations.
- Supported operations include addition of vectors, dot products, cross products, projections, determinants, norms of vectors, arc lengths, and derivatives.
- Specific operations / concepts are selected from a drop down, with the entrance field format depending on said selection
- The graphs page enables users to visualize mathematical functions by plotting their graphs.
- Users can input functions, and the application generates graphical representations.
- The resulting graph provides a visual representation of the input function as well as a formatted and syntactitally pleasing function declaration
- The word problem solver page lets users input complex word problems.
- Utilizes the ChatGPT API to generate solutions and presents answers in an organized format.
- Implements a scrollable textbox to see the reasoning and calculations behind the final calculation by the AI generated solution.





