MathSolver is a mobile application that allows users to input mathematical expressions and get instant solutions using the Wolfram Alpha API. It supports both single expressions and multiple expressions entered on separate lines.
You can download the APK file of the MathSolver app from the following link:
MathSolver is built using the following technologies and libraries:
-
Kotlin: The project is written in Kotlin, a modern and expressive programming language for Android development.
-
Jetpack Compose: Jetpack Compose is used for building the user interface (UI) of the application, enabling a more declarative and efficient way to create Android UIs.
-
ViewModel: ViewModel is used to manage UI-related data and handle the communication between the UI and the underlying data sources.
-
Hilt: Hilt is used for dependency injection, making it easier to manage and provide dependencies throughout the app.
-
Room Database: Room is used for local data storage and managing the app's database.
-
Retrofit: Retrofit is used for making network requests to the Wolfram Alpha API.
-
Coroutines: Coroutines are used to handle asynchronous operations, such as making network requests and database interactions, in a structured and efficient manner.
-
Material Components for Android: Material Components are used for designing a visually appealing and consistent user interface.
This tech stack empowers MathSolver to provide a smooth and intuitive experience for users while efficiently handling math expression evaluations and history management.
- Evaluate single mathematical expressions.
- Evaluate multiple mathematical expressions simultaneously.
- View a history of evaluated expressions.
- Copy results to the clipboard for easy sharing.
Before you begin, ensure you have met the following requirements:
- You need to log in to the Wolfram Alpha website and obtain the Base URL and App ID from the Wolfram Alpha Developers section.
To install and run MathSolver, follow these steps:
-
Clone this repository to your local machine:
git clone https://github.com/your-username/MathSolver.git
-
Open the project in Android Studio.
-
Create a local.properties file in the root directory of your project if it doesn't already exist.
-
Add your Base URL and App ID obtained from the Wolfram Alpha Developers section to local.properties:
BASE_URL=#Your Base Url APP_ID=#Your app id
-
Build and run the application on your Android device or emulator.
-
Launch the MathSolver app.
-
Choose between evaluating a single expression or multiple expressions using the provided radio buttons.
-
Enter your mathematical expression(s) in the input field. If evaluating multiple expressions, enter each expression on a new line.
-
Click the "Evaluate" button.
-
Wait for the app to fetch and display the results.
-
View the results on the screen, and the history of evaluated expressions.
-
Copy the results to the clipboard by clicking on the result.
Here's an example of how to use the MathSolver app:
-
Choose "Single Expression."
-
Enter the expression "2+2."
-
Click "Evaluate."
-
The result "4" will be displayed on the screen.
-
To evaluate multiple expressions, choose "Multiple Expressions," and enter expressions like:
2*4*4 5/(7-5) sqrt(5^2-4^2) sqrt(-3^2-4^2)
-
Click "Evaluate," and the results for each expression will be displayed.
Wolfram Alpha for providing the powerful mathematical computation engine.
If you have any questions or suggestions, please feel free to contact me at rohitshar8600@gmail.com.
Happy Math Solving!