Problem related to lcg

Assignment Help Theory of Computation
Reference no: EM13724344

Question: how can solve that :

•Consider the LCG defined by m = 16, a = 5, c = 3, and Z0 = 7. Compute until Z19 and verify that when i = 16, the exact the same order will show up. Show all results in a table.

•For the following multiplicative LCGs, compute Zi for enough values of i that is greater or equal to one to cover the entire cycle:

•Zi = (11Zi-1)(mod 16), Z0 = 1
•Zi = (3Zi-1)(mod 13), Z0 = 1

•Without actually computing any Zi's, determine which of the following mixed LCGs have full period:

•Zi = (13Zi-1 + 13)(mod 16)
•Zi = (12Zi-1 + 13)(mod 16)
•Zi = (13Zi-1 + 12)(mod 16)
•Zi = (Zi-1 + 12)(mod 13)

•For the mixed LCGs in Problem 4, compute Zi of (b) and (c) for enough value of i that is greater and equal to 1 to cover entire cycle; let Z0 = 1 in each case. Comment on the results.

Reference no: EM13724344

Questions Cloud

Explain the product positioning : Case study- Mountain Man Brewing Company: Bringing the Brand to Light, Explain the product positioning
The federal reserves exit strategy : Evaluate the contemporary problem from a Social Science (Economics) perspective - The Federal Reserve's Exit Strategy?
Research and analyze an economic dilemma : You will research and analyze an economic dilemma. Select one of the provided international finance topics. Conduct an analysis of your topic based on the economic principles covered throughout the course. Your analysis should be based on a min..
Identify the basic elements of the proslavery defense : Identify the basic elements of the proslavery defense and those points aimed especially at non-southern audiences.Describe the difference between gang labor and task labor for slaves
Problem related to lcg : Consider the LCG defined by m = 16, a = 5, c = 3, and Z0 = 7. Compute until Z19 and verify that when i = 16, the exact the same order will show up. Show all results in a table.
What new products or services they have coming out : Research each of your companies to find out what new products or services they have coming out. Find out why the company decided to develop this product and any information about how it was developed
What are some instances of interpreting a biblical passage : What happens if you carefully consider the surrounding context of a passage, but ignore its literary genre? Besides those examples cited in this chapter, what are some instances of interpreting a biblical passage apart from its immediate context?
Discuss current global issues related to businessdisciplines : "We're ready to invest in a new generation of business leaders. There is so much talent arising from business schools and the passion for entrepreneurism, innovation, and business excellence helps to build a strong economy. Discuss current global ..
How do professional sport leagues such as the nba : How do professional sport leagues such as the NBA, NHL, NFL, and MLB differ in structure from entities such as NASCAR, the PGA Tour, and the PBA Tour?

Reviews

Write a Review

Theory of Computation Questions & Answers

  Conduct report and present a description of both of these

conduct report and present a description of both of these two agile methodologiescompare and contrast these two

  Scrum vs plan-based software development strategies

Develop a visual rendering of each approach using Microsoft Visio or its open source alternative, Dia. Note: The graphically depicted solution is not included in the required page length.

  Write problems which have no solutions

What does the term solvable mean to you? What does it mean to say that "you solved a problem"? Determine examples of problems for which you believe there are no solutions.

  - write a short guidance note explaining 3 purposes of

- write a short guidance note explaining 3 purposes of induction and how these can benefit individuals and

  Show that if the statement is true

Show that if the statement P(n) is true for infinitely many positive integers, and the implication P(n+1) ---> P(n) is true for all n>=1, then P(n) is true for all positive integers.

  Write down an illustration of a hypothetical situation when

question 1 explain why t1s values above 0 versus c will not matter for comparing algorithms.question 2 give an example

  Write down binary representation of decimal number

Calculate the sum of 2.6125 X 101 and 4.150390625 X 10-1 by hand, assuming A and B are stored in the 16-bit half precision described in exercise 3.27. Assume 1 guard, 1 round bit, and 1 sticky bit, and round to the nearest even. Show all steps.

  You have to design a syntactic analyzer for the language

you have to design a syntactic analyzer for the language specified by the grammar below. we are using the following

  Interpreting the regular expressions as languages

Show that the following identities hold for regular expressions over any alphabet: epsilon + R*R = R*. These should be done by interpreting the regular expressions as languages.

  Derive a contradiction

State your assumptions for a proof by contradiction - Derive a contradiction.

  In an internet retailer you will find a wide range of job

in an internet retailer you will find a wide range of job functions. leaders frequently need to adjust their own

  1 we all have a picture of a dream job in our heads some

1. we all have a picture of a dream job in our heads. some of us might even be lucky enough to be working in their

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