Skip to content

Abd002/py-func-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Function Solver

Overview

Function Solver is a PySide2-based application designed to solve two user-provided mathematical functions. SymPy for symbolic computation, and Matplotlib for graphical visualization. The UI is built using Qt Designer, and the application is tested using pytest and pytest-qt. While the application is developed using PySide2, the UI components are created using Qt Designer.

Features

  • Solve two mathematical functions entered by the user.
  • Graphically display the functions and their intersection points.
  • Validate user input for correct syntax and supported operators.
  • Provide error messages for invalid inputs.
  • Implement unit testing with pytest and pytest-qt.

Application Snapshots

Main Application Window

Application Window

Valid User Inputs

  • Valid Input Example 1
  • Valid Input Example 2

Handling Invalid Inputs

Unsupported Operators

Invalid Operator

Syntax Errors

Invalid Syntax

Missing Brackets

Missing Brackets

Test Results

The application passes all tests implemented using pytest and pytest-qt.

Pytest Results

About

PySide2-based app for solving and visualizing mathematical functions with SymPy and Matplotlib.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages