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

  The roommate problem and intern assignment problem

Implementation of both the algorithms using C/C++ code 1. roommates problem 2. Intern Problem

  1 what are the problems in the performance appraisal system

1 what are the problems in the performance appraisal system of arrow electronics?2 if you were the ceo of arrow

  Many programs require the use of an input

Many programs require the use of an input mechanism to get data into the program and an output mechanism to present results and guidance.

  Implement finite state machine to recognze input string

Write implememnt finite state machine which recognzes input string according to following rules. First character should be either letter(upper or lower case.)

  Design deterministic finite state transducers

Design deterministic finite state transducers that implement the subsequent context sensitive rules:

  Create nondeterministic finite automata

Create NFA (Nondeterministic Finite Automata) - The language 0*{01}* with three states

  Is the given grammar left or right recursive

Is the given grammar left or right recursive - describe these in detail because I am having a hard time trying to figure this all out.

  Joe must decide how he will answer bills invitation to join

joe must decide how he will answer bills invitation to join him and his family on their yacht. complete the following

  Construct a diagram to map the arguments

Construct a diagram to map the arguments about a moral claim that you have identified and write an essay, which maps closely to the diagram that you constructed in Step 1.

  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

  Predicate function play in an attribute grammar

What role does a predicate function play in an attribute grammar and what role does a lookup function play in an attribute grammar?

  Translate the following english sentences into symbolic

translate the following english sentences into symbolic logic propositions. all variables are quantified over the set

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