Question: Write a pseudo algorithm that implements Horner's rule and returns the product of two polynomials. Assume that polynomials are represented as arrays. For example, 5x
Write a pseudo algorithm that implements Horner's rule and returns the product of two polynomials. Assume that polynomials are represented as arrays. For example, 5x4+2x3-1x2+3x+7 will be represented by array x of length 5: [7,3,-1,2,5]. More generally, x[i] stores the coefficient of the term of power i.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
