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

  Finite-state machine design

Create a finite-state machine design to turn your FPGA development board into a simple programmable music box.

  Redundant sequence identi cation

Redundant sequence identi cation

  Compute a shortest superstring

Dynamic programming algorithm to compute a shortest superstring.

  Propositional and predicate logic

Write down a structural induction principle for the PlayTree free type

  Design a syntactic analyzer

Design a syntactic analyzer for the language specified by the grammar

  Design unambiguous grammar to parse expressions

Write a program would read two numbers and then print all numbers between the first and the second, inclusive. Design unambiguous grammar to parse expressions

  Consider a logic function with three outputs

Consider a logic function with three outputs,  A ,  B , and  C , and three inputs,  D ,  E , and  F . The function is defined as follows:  A  is true if at least one input is true,  B  is true

  Considering a single programmed operating system

Considering a single programmed operating system, what is the minimal total time required to complete executions of the two processes? You should explain your answer with a diagram.

  How to construct an nfa

Give a construction that assumes you are given a DFA for L and show how to construct an NFA (with or without ε-moves) to recognize sort(L).

  Equivalence classes to construct minimal dfa for language

How many equivalence classes does this relation have and what are they? Use these equivalence classes to construct the minimal DFA for the language.

  Impact of moore-s law on data center costs

Discuss the impact of Moore's law on data center costs on such things as servers and communications equipment. List at least 3 steps or recommendations your data center can take to offset some or all of the effect of Moore's law.

  Problem encountered in statements in predicate logic

How the problem would be encountered in attempting to represent the following statements in Predicate logic. it should be possible to: John only likes to see French movies.

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