Check how good new random no generator generates numbers.

Assignment Help Game Theory
Reference no: EM13945030

Write a program to check out how good my new random number generator generates numbers. A good generator produces evenly distributed numbers over some range. determine how well these numbers are dispersed between 1 and 100.

generate 10,000 random numbers between 1 and 100 and count how many times each number is produced. From this test, the program is to produce several results.

a. Determine the average random number produced.

b. Determine which number(s) was generated the most often.
Need to know which random number was produced most often (the count) and if more than one, show all.

c. Determine which number(s) was generated the least often.
Need to know which random number was produced least often (the count) and if more than one, show all.

Restrictions:

Must use a link list to store data in order

Must use functions.

new random number generator is a follows:

seed = 73267217 ......starting value (first random number)

Generate the next random number using the previous random number (seed)

seed = abs( seed % 10000 + seed / 10000 ) * 732163
return seed; (newest random number)

Attachment:- randomnumberlist.zip

Reference no: EM13945030

Questions Cloud

Conduct a pest analysis for the organisation : Conduct a PEST Analysis for the organisation? Give four examples of external causes of change in an organisation. For each example give at least one potential impact.
Strength and weakness of orgasation delopment plan : Review a given organisation development plan. Analyse the streanth and weakness of this orgasation delopment plan and prepare written report of finding. Answer all qustion
Investigating the cost of maintaining patients : A business manager in a health-care facility has been investigating the cost of maintaining patients within its plan. A sample of 15 cases (different from those in WQ2) for the last month reported the following:
Which variable described in the article : Which variable (communication, discharge planning, or health literacy) described in the article would you address as the RN in planning the discharge for this patient? Why is this variable a priority for this patient
Check how good new random no generator generates numbers. : Write a program to check out how good my new random number generator generates numbers. A good generator produces evenly distributed numbers over some range. determine how well these numbers are dispersed between 1 and 100.
Determine the optimal shipments : Formulate the equations to determine the optimal shipments from each point of embarkation to each destination along this supply chain that will result in the minimum total shipment cost.
Difference between gross revenues and net revenues : Identify one of the two key principals used in accrual accounting and state an advantage and disadvantage?  What is the difference between gross revenues and net revenues? What is the difference between patient service revenue and other revenue
Process technology and e-business on an organisation : Your task is to critically discuss and evaluate the effect of process technology and e-business on an organisation of your choice. You should evaluate the effect on their logistical and operational capacity and capability.
Identify entities that relevant for a system to manage seamm : Identify the entities and relationships that are relevant for a system to manage SEAMM. Develop a data dictionary (catalogue) and create an E-R diagram.

Reviews

Write a Review

Game Theory Questions & Answers

  Which is better for the is manager to employ and why

Which is better for the IS manager to employ and why?

  Confidence interval for population average weight of candies

Construct a 90% confidence interval for the population average weight of the candies.

  How large a sample should be taken

For multiple sclerosis patients we wish to estimate the mean age at which the disease was first diagnosed. We want a 90% confidence interval that is 8 years wide. If the population variance is estimated to be 85 from previous research, how large a..

  Question from the given payroll matrix where the payoff

question from the given payroll matrix where the payoff refer to profit that firm a and b earn from their possible

  Question about nash equilibrium

Following is a payoff matrix for Intel and AMD. In each cell, 1st number refers to AMD's profit, while second is Intel's.

  Identify which player can benefit from making strategic move

Identify which player can benefit from making a strategic move, identify the natu re of the strategic move appropriate for this purpose.

  Probability that a randomly chosen person be hypnotizable

A famous hypnotist performs to a crowd of 350 students and 180 non-students. The hypnotist knows from previous experience that one half of the students and two third on the non-students are hypnotizable. What is the probability that a randomly cho..

  Formulate the given situation as a strategic game

Each party's prefer- ences are represented by the expected number of votes it gains. Formulate this situation as a strategic game and find its mixed strategy equilibria.

  What is the set of nash equilibria for k m

What is the set of Nash equilibria for k m? For k = m = 1, is the game the same (except for the names of the actions) as any considered so far in this chapter?

  Hypothesis test for a population proportion

A hypothesis test for a population proportion ρ is given below: Ho: ρ = 0.10 Ha: ρ ≠ 0.10

  Determining nash equilibrium

Firm A and Firm B are the only competitors in market. Each has to decide what price to set for its product. Once prices are set, they cannot be changed for year. Both companies set prices at the same time.

  Application that uses random no generation to create sentenc

After preceding application is written, modify it to produce a short story consisting of several of these sentences. (How about the possibility of a random term-paper writer?)

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