Function-Plotter

Function Plotter is a simple application with GUI to plot mathematical functions. User enter a function and its boundaries and the application plot the function. Application can only draw polynomial functions in which only these operators in the fucntion are allowed: + – * / ^ (where ^ is the power operator).

Prerequisites

python is needed to be installed on the device. In addition, install these libraries: PyQt5, matplotlib, and numpy using:

pip install [library name]

How to Run

run command:

python3 Function_Plotter.py

Program Results Screenshots

Note: Program enforce function input field to only accept allowed symbols and letter ‘x’. Also enforce minimum value and maximum value to be numeric values

  • Program Interface

Design

Valid1

Valid2

Valid3

  • Entering empty function

EmptyFunction

  • Entering empty minimum value of x

EmptyMinX

  • Entering empty maximum value of x

emptyMaxX

  • Entering nonvalid function

NonValidFunction

  • Entering minimum value greater than maximum value

minGreaterThanMax

GitHub

View Github