Search: | |||||

| ||||

Home » Forum » Java | RSS Feeds |

I need help writting java code to compute two polynomial.

I have to design and implement a class for polynomials that uses a

linked list to store the coefficients ( so there is virtually no

limit on n). Include a method that multiplies two polynomial.

for example 2 + x^2 - 3x^3 and 1 - x - 2x^2 + 3x^3

are represented by

2, 0, 1, -3 and 1, -1, ,-2, 3

the product of the two polynomials is

2 - 2x - 3x^2 + 2x^3 + x^4 + 9x^5 - 9x^6

which is represented by

2, -2, -3, 2, 1, 9, -9

I need to get things cleared so that i can work on it...

I need to write a method which takes 2 arguments...

the two polynomials, right and return the resultant polynomial right?

i can work on it, only after u reply...

Thats what i exactly wanted to do multiply two polynomial.

Didn't find what you were looking for?
Find more on multiplying Two array
Or get search suggestion and latest updates.

Related Topics:

- multiplying two integer variables and assigning to a long variable
- sum and Multiply number and print in decimal
- Formula multiplying ActiveCell with "F11"
- help: Difference between two arrays
- How to Add two Array
- Array to array direct transfer in VB
- Array of Arrays
- type casting /converting seconds to a days hours minutes seconds
- multiply row sources in single list box? is this possible?
- VBA or array formula?
- Entering Array in Excel
- sorting an array in VBA without writing it in excel sheet
- Transferring excel sheet data into array
- Copying whole array in a column in single command
- About array matrix function
- Array Formula
- Retain Array Variable data
- VBA and Arrays/Ranges
- Userform Array to worksheet
- Control Array
- Storing an array in memory?
- Populate array value using For Next loop
- How do I sort an array?
- Array of Labels
- Sort Array