Question: JAVA CODE! Evaluating Polynomial Expressions. Develop a GUI based application that displays and evaluates polynomials with 3 variables. Your system should read and store polynomials

JAVA CODE!

Evaluating Polynomial Expressions.

Develop a GUI based application that displays and evaluates polynomials with 3 variables.

Your system should read and store polynomials from an input file poly3d.dat. Each of the polynomials has three variables (ex. X, Y, Z). The first line indicates the number of polynomials described. The subsequent lines describe one polynomial per line. Each term of the polynomial has a coefficient and exponent for x, y, and z. Every polynomial has a name.

Your GUI should:

a) Display all the polynomials on the screen

b) Have three input fields for input values of X, Y, and Z.

c) Have a button to evaluate the polynomials

d) Show the evaluated values (using the values from input fields) for all the polynomials.

Upon clicking the Evaluate button, the evaluated values of all the polynomials should be displayed on the GUI. You should be able to change the values of X, Y, and Z and re-evaluate the polynomial.

It is important to note that the input file can have up to 10 polynomials.

Example: The following content in a file describes two polynomials shown below

2

Poly1 4 2 3 1 5 4 3 0 3 1 1 1

Poly2 -2 3 2 4 6 8 1 3

Poly1 is 4*X^2*Y^3*Z + 5*X^4*Y^3+3*X*Y*Z

Poly2 is -2*X^3*Y^2*Z^4 + 6*X^8*Y*Z^3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!