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

  Show that the grammar is unambiguous

What does it compute? Prove it, showing how you derive the loop invariant - Show that the grammar is unambiguous

  Ssb has an advantage over am

SSB has an advantage over AM with respect to efficiency and power gain. Why, then, is AM commercial broadcast being replaced with SSB transmission?

  Turing machine model

Think about the following Turing-machine model, A tape that is infinitely long in both directions and is divided into cells; at any given step, each cell either is blank or contains a 1.

  Demonstrate that each word problem is a valid argument

Demonstrate that each word problem is a valid argument. Use rules of inference to show steps and reasons in the proof.

  Farmers friend for their customer support systems

Create the two main documents that model the current processes at Farmers Friend for their Customer Support Systems (CSS).

  Explain declarative knowledge and procedural knowledge

Write some examples of declarative knowledge. Write some examples of procedural knowledge. Then, compare examples, highlighting the similarities & differences.

  Create a method that perform a division operation

Create a method that will perform a division operation on the numbers passed to it in two variables and outputs the results. Use a try catch pair to output an error message if the illegal operation of divide through zero occurs.

  Essay is about qantas emirates alliance focus on change

essay is about qantas emirates alliance. focus on change took place in qantas airline due to this alliancepart 11.

  Find logical mismatch between predicate and subject

Which sentence has the logical mismatch between predicate and subject? Choose one of options below as your answer: A. Misunderstanding was as he lost directions.

  Create and dfa or lr items for grammar

Create and DFA or LR(0) items for this grammar. Is this grammar LR(0) parsing table? If not, explain LR(0) conflict. If so create LR(0) parsing table.

  Millenium development goal

Millenium Development Goal has proved to be one of the most ambitious and difficult and global education starts with, well, education-informing and inciting into action those who are more capable of bringing about change.

  Design a dfa to recognize language l

Design a DFA to recognize L and write a program that implements your DFA - you should check the ASCII code of each character of the string and process on the DFA accordingly.

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