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

  A project report on banking system

The objective of this business report is to focus upon evaluating the current portfolio of Baituna home loans product of Bank Muscat and its volumes. It focus upon the current standing of the product in Oman and its performance on the basis of its vo..

  Questions on financial econometrics

Objective and multiple choice questions on Financial Econometrics responsible for creating financial statements.

  Option valuation report

Value Joseph's option position based on Black-Scholes method and analysis needs cover details behind the standard Black - Scholes method and explain detailed adjustment made to the standard BS method

  Conduct a bivariate nonlinear conintegration tests

Conduct a bivariate nonlinear conintegration tests using threshold Vector Error Correction (TVEC) methodology. Need to develop Matlab code.

  Calculate the expected exchange rate

Use a properly labelled IS-LM graph to analyze and illustrate the effect and calculate the expected exchange rate for the end of the year.

  Capm and capital structure

Reflect on the papers. Synthesize the key points they're making and consider the challenges of such points in a given context within your environment.

  Calculate the npv-irr and non-discounted payback period

Calculate the NPV, IRR, and Non-Discounted Payback Period using Excel - Outline and write the essay starting with the evidence-supported defense of your points and slowly transition into an address of opposing points.

  Objectives and principles guiding corporate governance

What is corporate governance and what are the objectives and principles guiding corporate governance?

  What is the capital budgeting process

What is capital budgeting, what is the capital budgeting process, what are the principles of capital budgeting and when do we make a capital investment?

  How do taxes affect the cost of capital

What is the cost of capital, what are WACC and MCC and how do taxes affect the cost of capital?

  How do you create or decrease leverage

What is leverage, how do you create or decrease leverage and why is leverage used?

  Calculate the wacc for both investment

Outline and write the essay starting with the evidence-supported defense of your points and slowly transition into an address of opposing points - Calculate the WACC for both investment. Calculate the NPV for investments discounted at their respec..

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