English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am in a computer Science course that wants me to write and algorithm for multiplying polynomials in the most efficient way in JAVA code. Any ideas

2006-09-28 12:28:28 · 2 answers · asked by Help me Pick my Brain 2 in Science & Mathematics Mathematics

2 answers

use the basis:

coeff of x^n = coeff.of (x^n-1)*coeff(x) + coeff.of (x^n-2)*coeff(x^2) + .....

each coeff is obtained by iteration

2006-09-28 12:33:59 · answer #1 · answered by m s 3 · 0 0

I don't know know java, but to multiply polynomials...

(a + b + c ) * (d + e + f) =
ad + ae + af + bd + be + bf + cd + ce + cf

2006-09-28 19:38:27 · answer #2 · answered by sassy_91 4 · 0 0

fedest.com, questions and answers