You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The purpose of the program is to represent a polynomial by elementary actions between monom's,
using this program you can calculate complex functions with form of polynomial such as addition, substruct, multiplying, devision and more.
In addition this program also provides a GUI of the polynomial for the user .
The Project Includes:
Package myMath:
Monom Class
This class represents a simple "Monom" of shape a*x^b, where a is 'a' real number and 'b' is an integer.
A valid init for Monom:
From other Monom
From coefficient and power
From string
Polynom Class
This class represents a list of monoms defined by the structure a1x^b1+a2x^b2+…+an*x^bn.
A valid init for Polynom:
From String which consists of addition and subtraction operations between valid monoms
From other Polynom
ComplexFunction Class
This class represents a complex function of type y=g(f1(x), f2(x)), while both f1(x) and f2(x) could be instance of polynomial or another complex function.
Function_GUI Class
This class drawing a graph that simulates the function.
The graph could be recieved by three ways:
A function that receives parameters from JSON
Static function that receives user parameters
Function that builds without parameters
Package test:
Unit Testing files in order to test classes of Monom, Polynom, ComplexFunction and GUI_Function that can be found at myMath package by using JUnit testers.