answersLogoWhite

0

A polynomial is a mathematical equation in the form ...

f(x) = Ax0 + Bx1 + Cx2 + Dx3 ... etc.

Often, the ordering of the terms is the other way around, but I used this order to segue into the discussion of computer representation.

What you need, are the coefficients, A, B, C, D, etc. in an array. Most often, one would create an array of double, and place the coefficients into the array.

double x[4] = {A, B, C, D};

This way, x[0] = A, x[1] = B, etc. and you could write code to manipulate the polynomial in various ways.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Why might it be useful to know the linear factors of a polynomial function?

It is useful to know the linear factors of a polynomial because they give you the zeros of the polynomial. If (x-c) is one of the linear factors of a polynomial, then p(c)=0. Here the notation p(x) is used to denoted a polynomial function at p(c) means the value of that function when evaluated at c. Conversely, if d is a zero of the polynomial, then (x-d) is a factor.


What is polynomial division?

That means that you divide one polynomial by another polynomial. Basically, if you have polynomials "A" and "B", you look for a polynomial "C" and a remainder "R", such that: B x C + R = A ... such that the remainder has a lower degree than polynomial "B", the polynomial by which you are dividing. For example, if you divide by a polynomial of degree 3, the remainder must be of degree 2 or less.


To find the factors of a polynomial from its graph follow this rule If the number is a root of a polynomial then x - c is a factor?

a


How would you factor the polynomial C2 - D2?

(c + d)(c - d)


What is a polynomial of three terms?

an example of a three-term polynomial is: Ax2 + Bx + C. (that's Ax{squared})


For any number c the polynomial x2 - c2 can be factored as?

0


What value of c makes the polynomial a perfect square x2 5x c?

6.25


What type of polynomial is shown below 7x2-3x plus 4?

The polynomial (7x^2 - 3x + 4) is a quadratic polynomial because its highest degree term is (x^2), which indicates that it is a second-degree polynomial. Quadratic polynomials generally take the form (ax^2 + bx + c), where (a), (b), and (c) are constants, and in this case, (a = 7), (b = -3), and (c = 4).


What value of c makes the polynomial a perfect square x2 14x plus c?

49


What value of c makes the polynomial a perfect square x2 - 14x plus c?

49


Evaluate the polynomial expression using linked list using c?

Evaluating a Polynomial expression using a singly linked list visit : http://myfundatimemachine.blogspot.in/2012/06/polynomial-evaluation-in-c.html


What is the sum of the given polynomials 'ax plus by plus c' and '2ax minus 3by plus c' and 'by minus c'?

Here is an intuitive method for working this polynomial problem, which can be solved as easily as adding apples to apples and oranges to oranges. Think of the same-named variables and variable pairs as different "things." In this example, each polynomial contains none or one or more of these three different things: "ax", "by", and "c". So all we need to do is add (or subtract) up the "ax"s, then the "by"s, and then the "c"s and write it down. ax: 1 in the first polynomial + 2 in the second + none (0) in the third = 3 "ax"s. by: 1 in the first polynomial - 3 in the second +1 in the third = -1 "by"s. c: 1 in the first polynomial + 1 in the second - 1 in the third = 1 "c". The answer is the polynomial made up of the three results above: 3ax - 1by + 1c = 3ax - by + c