Home > Back-end >  Guidance of polynomial multiplication, really can't write, is going to be made 1 sincerely seek
Guidance of polynomial multiplication, really can't write, is going to be made 1 sincerely seek

Time:09-29

Overall demand write an implementation of polynomial multiplication program,
Functional requirements 1) input P (x)=P * x ^ ^ m - 1 m - 1 + P ^ 2 * 2 + x ^ m - m -... + P ^ 1 * X + P ^ 0
2) input Q (x)=1 * x ^ Q ^ n - n - 1 + 2 * x ^ Q ^ n - n - 2 +... 1 * X + + q ^ q ^ 0
3) for they are the product of the polynomial S (x)=S ^ 2 * m + n - x ^ 2 + m + n -... * X + s + s ^ 1 ^ 0, and the output,

User interface input: after the normal operation of the process, prompt the user for a number of two coefficient and index,
Output: : 1) the two to participate in the polynomial multiplication,
2) the results of two polynomial multiplication
Tips and reference input sample
The output sample
Can define two one-dimensional array p, q, from high to low is stored according to number two polynomial coefficient, define a one-dimensional array to store the result s; Using the function to complete the polynomial coefficient of the calculation, the results finally the calculation results on the screen,
(to run under VC6.0, must also is to use an array, ask for help! Ask for help!

CodePudding user response:

No one!!!!!!!!!!!!!!!!!!!!!!

CodePudding user response:

You go to the pig eight quit to spend money to buy the answer, a bunch of people to get you
  • Related