Specify, design and implement a class(Polynomial) for polynomials. The coefficients are going to be stored in a linked lists and there is no maximum degree. So, the user has to be able to create a polynomial of any degree by repeatedly asking the user for the value of the coefficient together with the degree of a given term. For example, for a term [url removed, login to view]^3 the user will enter -2.4 and 3 as inputs and the class should add this term onto a given polynomila stored internally in a linked list. Your polynomial class should include methds that adds, subtracts, and multiplies two polynomials. It should have a method which returns another polynomial that is a derivative of a given polynomial. Another method should evaluate the polynomial for a given value of x.
Then write a driver program that will create different polynomials inputted by the user and store them in some collection class. Your driver program should have a menu to: 1. input a polynomial 2. print a polynomial 3. add two polynomials 4. subtract two polynomials 5. multiply two polynomilas 5. find the derivtive of a polynomial 7. evaluate a polynomial at a specific value 8. exit the program
After each operation on polynomials wherever the polynomial is returned it should be added to a collection class in a driver for later use. The user should see how many polynomials are present in the collection and should be able to select any of them to perform operations on them.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).
The program should be written in java, and I use suns j2sdk version 1.4.1_01 to compile and run the code