Questions need help.
I would like to use Link List, ADT to display two Polynomials.(in JAVA)
And do the calculation (add, multiply, substract, and derivatives)
Ex:
1. Input the coefficient and exponent to display the polynomial.
( getCoeff();)
( getExpon( ) ;)
use ADT and Link List to display :
f(x)= 5x^9 + 10x^7 +3x^4 -2x^2
q(x)= 4x^9 + 2x^7 +3x^3 -2x +3
2. calculation
add: f(x) + q(x)
sub: f(x) - q(x)
multiply : f(x) * q(x)
derivative: f'(x) and q '(x)
If anyone know how to do that or anyplace I can find the detail information about this. Please let know. Thanks very much!