A GUI program that plots arbitrary user-entered function.
The program takes the function expression to be plotted, and the min-max values of x. It validates the input and shows a graph of the function if all input was valid, othewise prints an error message.
- python
- matplotlib and numpy
- unittest
- tkinter
- Allowed characters are : 'x' , operators (+,-,*,/,^), numbers, spaces
- Operands (variables and numbers) are seperated by operators
- Operators must have two operands
- No spaces inside a number (like: 2 5)
- Brackets must be in pairs and in order