Conduct a monte carlo study

Assignment Help Theory of Computation
Reference no: EM131452414

Simulation 1

A forest consists of 1,000 trees forming a perfect 50 x 20 rectangle. The northwestern (top-left) corner tree catches fire. Wind blows from the west, therefore, the probability that any tree catches fire from its burning left neighbor is 0.8. The probabilities to catch fire from trees immediately to the right, above, or below are all equal 0.3.

1. Conduct a Monte Carlo study to estimate the probability that more than 30% of the forest will eventually be burning. With probability 0.95, your answer should differ from the true value by no more than 0.005.

2. Based on the same study, predict the total number of affected trees X.

3. Estimate Std(X) and comment on the accuracy of your estimator of X.

4. What is the probability that the actual number of affected trees differs from your estimator by more than 25 trees?

5. A wooden house is located in the northeastern corner of the forest. Would you advise the owner that her house is in real danger?

Simulation 2
You can choose to invest your money in one particular stock or put it in a savings account. Your initial capital is 1000 $. The initial stock price is 100 $ . The interest rate r is 0.5% per month and does not change.
Your stochastic model for the stock price is as follows:
- next month the price is the same as this month with probability 1/2,
- with probability 1/4 it is 5% lower,
- and with probability 1/4 it is 5% higher.
This principle applies for every new month. There are no transaction costs when you buy or sell stock. Your investment strategy for the next 5 years is:
- convert all your money to stock when the price drops below 95 $,
- and sell all stock and put the money in the bank when the stock price exceeds 110 $. Describe how to simulate the results of this strategy for the model given.

Reference no: EM131452414

Questions Cloud

What was the purpose of the audit discuss : ACCT300: Auditing and Assurance Services Assignment. What was the purpose of the audit, and was it achieved? Discuss
Analyze what have you learned about statistics : what have you learned about statistics? In developing your responses, consider-at a minimum-and discuss the application of each of course elements in analyzing.
What was accomplished at the bretton woods conference : Regarding foreign exchange, what was accomplished at the Bretton Woods Conference?
Describe key components of the international monetary system : Describe the key components of the International Monetary System and give two specific real-world examples that illustrate each component.
Conduct a monte carlo study : Conduct a Monte Carlo study to estimate the probability that more than 30% of the forest will eventually be burning. With probability 0.95, your answer should differ from the true value by no more than 0.005.
Examines the symptoms of trauma-related victims : The purpose of the final project for this course is to establish an in-depth proficiency in area of assessment within multiple domains of forensic psychology.
Develop an end-to-end supply chain concept for the sourcing : develop an end-to-end supply chain concept for sourcing, manufacturing, and omni-channel distribution of a new high-end lady's handbag to millions of customers.
Dollar profit be from speculation over the five-day period : If Bank of America’s forecast is correct, what will its dollar profit be from speculation over the five-day period?
Best of breed or monolithic systems : A recommendation of either a best of breed or monolithic systems integration strategy. Justify your recommendation. Evaluate the issues involved in each.

Reviews

len1452414

4/6/2017 2:40:00 AM

two simple Monte Carlo Simulations need well documented source code and answers to questions. • and sell all stock and put the money in the bank when the stock price exceeds 110 $. Describe how to simulate the results of this strategy for the model given.

Write a Review

Theory of Computation Questions & Answers

  Finite-state machine design

Create a finite-state machine design to turn your FPGA development board into a simple programmable music box.

  Redundant sequence identi cation

Redundant sequence identi cation

  Compute a shortest superstring

Dynamic programming algorithm to compute a shortest superstring.

  Propositional and predicate logic

Write down a structural induction principle for the PlayTree free type

  Design a syntactic analyzer

Design a syntactic analyzer for the language specified by the grammar

  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

  Consider a logic function with three outputs

Consider a logic function with three outputs,  A ,  B , and  C , and three inputs,  D ,  E , and  F . The function is defined as follows:  A  is true if at least one input is true,  B  is true

  Considering a single programmed operating system

Considering a single programmed operating system, what is the minimal total time required to complete executions of the two processes? You should explain your answer with a diagram.

  How to construct an nfa

Give a construction that assumes you are given a DFA for L and show how to construct an NFA (with or without ε-moves) to recognize sort(L).

  Equivalence classes to construct minimal dfa for language

How many equivalence classes does this relation have and what are they? Use these equivalence classes to construct the minimal DFA for the language.

  Impact of moore-s law on data center costs

Discuss the impact of Moore's law on data center costs on such things as servers and communications equipment. List at least 3 steps or recommendations your data center can take to offset some or all of the effect of Moore's law.

  Problem encountered in statements in predicate logic

How the problem would be encountered in attempting to represent the following statements in Predicate logic. it should be possible to: John only likes to see French movies.

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