Giter Site home page Giter Site logo

johan-ff / math-assistant---python-wolframalpha Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 7 KB

Desktop application with Python and WolframAlpha. Mathematical assistant for students of integral calculus of one variable.

Python 100.00%
equation-solver integral-calculus math-plot pyqt5-desktop-application requests wolfram-alpha-api integral-solver

math-assistant---python-wolframalpha's Introduction

Math-Assistant---Python-WolframAlpha

Description

The Math Solver Desktop App is a Python application built using PyQt and requests libraries. This application allows users to solve mathematical problems related to solids of revolution in integrals and linear equations of first and second order by utilizing the Wolfram Alpha API.

Features

  • Solving integrals related to solids of revolution
  • Solving linear equations of first and second order
  • Interactive and user-friendly GUI built with PyQt
  • Real-time communication with Wolfram Alpha API

Requirements

  • Python 3.11+
  • PyQT
  • requests

Installation

  1. Clone the repository:
git clone https://github.com/Johan-FF/Math-Assistant---Python-WolframAlpha.git
cd Math-Assistant---Python-WolframAlpha
  1. Create a virtual environment (optional but recommended):
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install the required dependencies:
pip install -r requirements.txt

Configuration

To consume WolframAlpha APIs you need to create an account on their website WolframAlpha and then create an API KEY.

Now, create a UserMath-Assistant---Python-WolframAlpha/.env file with your api key:

API_KEY='Put tour api key here...'

Usage

Ensure you have an active internet connection since the application requires access to the Wolfram Alpha API.

Run the main.py file to launch the application:

python main.py

The application's graphical interface will open, providing options to solve integrals or linear equations.

For solving integrals, enter the necessary parameters and click "Solve Integral." The application will communicate with Wolfram Alpha API and display the result.

For solving linear equations, enter the coefficients of the equations and click "Solve Equations." The application will display the solutions for the given linear equations.

Example

Math-assistant.png

On the right side you can enter problems of low complexity, then press the "ANSWER" button. In the left part enter integrals of any type in the lower part and press the "INTEGRAL" button. In the upper part enter integrals of solids of revolution to solve with the method of disks', along with the axis on which it rotates and the limits of the integral, and press the "REVOLUTION" or "PROCEDURE" button. The middle part (vertically) of both the left and right sides serve as a query history. In the middle part (horizontally) the solution of the problem and the graph (if available) can be displayed.

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.