Causing difficulties with the gcd algorithm

Assignment Help Basic Statistics
Reference no: EM131042189

Define P1 , P2 , and P3 to be the polynomials

79_kk.jpg

Now define Q1 to be the product of P1 and P2 and Q2 to be the product of P1 and P3 , and use greatest-common-divisor (exercise 2.94) to compute the GCD of Q1 and Q2 . Note that the answer is not the same as P1. This example introduces noninteger operations into the computation, causing difficulties with the GCD algorithm.61 To understand what is happening, try tracing gcdterms while computing the GCD or try performing the division by hand. We can solve the problem exhibited in exercise 2.95 if we use the following modification of the GCD algorithm (which really works only in the case of polynomials with integer coefficients). Before performing any polynomial division in the GCD computation, we multiply the dividend by an integer constant factor, chosen to guarantee that no fractions will arise during the division process. Our answer will thus differ from the actual GCD by an integer constant factor, but this does not matter in the case of reducing rational functions to lowest terms; the GCD will be used to divide both the numerator and denominator, so the integer constant factor will cancel out. More precisely, if P and Q are polynomials, let O1 be the order of P (i.e., the order of the largest term of P) and let O2 be the order of Q. Let c be the leading coefficient of Q. Then it can be shown that, if we multiply P by the integerizing factor c 1+O 1 -O 2 , the resulting polynomial can be divided by Q by using the div-terms algorithm without introducing any fractions. The operation of multiplying the dividend by this constant and then dividing is sometimes called the pseudodivision of P by Q. The remainder of the division is called the pseudoremainder.

Reference no: EM131042189

Questions Cloud

Calculate the upper and lower mean limits : Calculate the upper and lower mean limits for the 95% confidence interval.
Implement the procedure pseudoremainder-terms : Implement the procedure pseudoremainder-terms, which is just like remainder-terms except that it multiplies the dividend by the integerizing factor described above before calling div-terms. Modify gcd-terms to use pseudoremainder-terms, and verify..
What is the variance of one throw of the die : You're playing Dungeons and Dragons, an old-school pen-and-paper role playing game. The game uses an 8-sided die, with the numbers 1-8 on each face. The probability of rolling each number is 1/8. What is the variance of one throw of the die
Determine which arguments are the most plausible : Determine which arguments are the most plausible. Provide a rationale for your views. After creating a cumulative frequency distribution from the list, discuss new ideas generated by each stakeholder.
Causing difficulties with the gcd algorithm : Now define Q1 to be the product of P1 and P2 and Q2 to be the product of P1 and P3 , and use greatest-common-divisor (exercise 2.94) to compute the GCD of Q1 and Q2 . Note that the answer is not the same as P1.
Implement the procedure remainder-terms and use : Using div-terms, implement the procedure remainder-terms and use this to define gcd-terms as above. Now write a procedure gcd-poly that computes the polynomial GCD of two polys.
How many votes their candidate has achieved on democratic : Each student will document how many votes their candidate has achieved on the democratic or republican side; how many delegates has been awarded them throughout the two months of primaries and causes; and their prognosis on how likely their candid..
Find at least three articles from good contemporary sources : Find at least three articles from good contemporary sources. Narrow your topic to one aspect of the issue. Examine the concerns of the church/churches on the issue (scripture, documents).
Distinguish between real intellectual and personal property : The focus of Week 4 is on the law related to real, intellectual, and personal property, the form of business organizations, and ethical issues faced by corporations and small businesses. By the end of Week 4, students should be able to distinguish..

Reviews

Write a Review

Basic Statistics Questions & Answers

  A random sample of 30 students was selected and the

a researcher knows that the population mean among college students taking social conformity test is neutral100. scores

  Make a forecast using trend model of judgment forecast

Which trend model is best, and why? If none is satisfactory, explain. Make a forecast for 2004 by using a trend model of your choice or a judgment forecast.

  Construct a 95 confidence interval to estimate the

suppose the following data are selected randomly from a population of normally distributed values.44 51 43 48 45 57 54

  Test claim of mean cotinine level of all smokers

Assuming that = 119.5 ng.ml, test the claim that the mean cotinine level of all smokers is equal to 200.0 ng/ml. Use a 0.05 significance level.

  Two fair dice one red and one green are rolled let the

question two fair dice one red and one green. are rolled. let the event a be the sum of the faces showing is equal to

  Appropriate statistic tests

What would you suggest to be the appropriate statistic tests to use and why ? Any suggestions on stating the hypothesis in a more professional manner?

  Thus the population of production times is normal in shape

suppose a manufacturing company makes a certain item. the time to produce each item is normally distributed around a

  Sketch the density function

(a) What is the distribution of Y? (b) Sketch the density function of Y, labeling the mean and standard deviation. (c) Give a range of values that is almost certain to contain Y.

  Perform exploratory data analysis on the relevant variables

Perform exploratory data analysis on the relevant variables in the dataset. When possible, include appropriate graphs to help illustrate the dataset.

  Do the sample data provide sufficient evidence to conclude

a study was conducted to study peoples attitude toward television programs that show violence. a random sample of 1200

  P-value and level of significance

For a hypothesis test about a population proportion or mean, if the level of significance is less than the p-value, the null hypothesis is rejected.

  Statements regarding a nonparametric test

Which of the following statements is true regarding a nonparametric test?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd