Write a matlab program to simulate the dice rolling game

Assignment Help Financial Econometrics
Reference no: EM131214817

Write a MATLAB program to simulate the dice rolling game described in given exercise. Run your program a large number of times and use the relative frequency to verify that your answers to given exercise are correct.

Exercise

Now consider a modified version of Problem where the defense is also allowed to roll multiple dice. Each player's highest roll is compared with the other player's highest roll, their second highest roll is compared with the other player's second highest roll, etc. As before, any ties go to the defense.

(a) Suppose both players roll two dice. In this case, there are two armies to be lost since there are two dice comparisons (highest vs. highest and lowest vs. lowest). Find each of the following probabilities:

(i) Offense wins both comparisons (and thus defense loses two armies).

(ii) Offense wins one comparison and defense wins the other (and thus each lose one army).

(iii) Defense wins both comparisons (and thus offense loses two armies).

(b) Repeat all the calculations in part (a) for the scenario where the offense rolls three dice and the defense rolls two dice. As before, there are two comparisons to be made in this scenario (highest vs. highest and second highest vs. second highest).

Reference no: EM131214817

Questions Cloud

Critical task as a project manager : What do you believe is the most critical task as a project manager? What role should they play (a coordinator, a technical advisor, a consultant, a coach, a manager, a bridge between project team, upper manager and customers or a combination of al..
Which are ill defined and tenuously rooted : Discuss a moral dilemma you have either found yourself involved in or one your closely observed another involved in where you or that other person have had to make a decision based solely on your moral beliefs. First, read Chapter 9, p. 375, "Your..
Database design lacks functionality to support theaters : The current movie database design lacks functionality to support theaters and show times.  It is not possible to see what theaters a movie is currently playing in or what movies are being shown at a particular theater.  Therefore, we would like to..
What value cluster is represented in the advertising : Search the Web and compare at least five companies' slogans. Briefly state what value cluster is represented in the advertising.
Write a matlab program to simulate the dice rolling game : Write a MATLAB program to simulate the dice rolling game. - Run program a large number of times and use the relative frequency to verify the answer.
Describe why companies develop predetermined overhead rates : Explain why companies develop predetermined overhead rates. Explain why the increase in the overhead rate should not have a negative financial impact on Borealis Manufacturing.
Depends whether you prefer the track record : But having demonstrated the extent that O'Leary met the Finklestein criteria, McManus concluded: "So, is it time for Ryanair to dump O'Leary - Depends whether you prefer the track record of one of the most successful businessmen in modern aviatio..
Explain the concept of organizational effectiveness : Explain the concept of organizational effectiveness, as it relates to the interactions of members. Describe methods used to assess the behaviors and attitudes of organizational members, and apply 1 model in an analysis of your organization.
Calculate its inductance and capacitance per unit length : Application: Parameters of coaxial line. The RG-l1/U coaxial line has the following properties: Z0 = 75 Ω and vp = 2c/3 m/s. Assuming the line to be lossless, calculate its inductance and capacitance per unit length.

Reviews

Write a Review

Financial Econometrics Questions & Answers

  Cost benefit analysis

Australian Standard for lighting to firstly ensure compliance with the standard and compatibility with current fixtures (T8 linear fluorescent);

  What is the implicit interest for first year of bonds life

A zero coupon bond with a face value of $1,000 is issued with an initial price of $440.50. The bond matures in 15 years. What is the implicit interest, in dollars, for the first year of the bond's life

  What is probability you get blue and number greater than 3

A spinner with three equal spaces of red, blue, and green is spun one time.  A single six-sided die is rolled once. - What is the probability that you get blue and a number greater than 3?

  What would be expected the nominal rate of interest to be

What would you expect the nominal rate of interest to be if the real rate is 4 percent and the expected inflation rate is 7 percent

  What is the path of the market exchange rate

Why might the market exchange rate change a lot as this monetary tightening is announced and implemented?- What is the path of the market exchange rate likely to be over the next several years? Why?

  Determine what is the amount of each payment

The Good Life Insurance Co. wants to sell you an annuity which will pay you $640 per quarter for 25 years. You want to earn a minimum rate of return of 4.9 percent.

  What is operating cash flow of project based on tax shield

A project will reduce costs by $34,000 but increase depreciation by $16,500. What is the operating cash flow of this project based on the tax shield approach if the tax rate is 40 percent

  Determine the initial yearly income that could be provided

Southwestern Mutual Life's actuarial tables indicate that Mr. Lohman has a current life expectancy of 40 years. Assuming that prices are expected to increase steadily at 4.0 percent per year over the next 40 years

  What are the expected return and the standard deviation

When a deposit matures, Smith's policy is to relodge the whole sum (principle & interest) immediately for further period. He chooses the term of each deposit according to his assessment of the interest rates available at that time.

  Describe how to analyze the scenario of mfs

Analyze the following scenario: The Unified Path is an umbrella organization that solicits donations to support its many charitable suborganizations. One of these is the Millbridge Family Service (MFS).

  What is the expected rate of return on the market

The expected rate of return on stock in Company D is currently 10%. Company D has a Beta of 1.40. If the risk free rate of interest is currently 3%, what is the expected rate of return on the market

  What are the major multilateral development banks

What are the major multilateral development banks? What is the WTO? What is its role in the world economy? What is an institutional investor?

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