FIT3139 Computational modelling and simulation Assignment

Assignment Help Theory of Computation
Reference no: EM132903180

FIT3139 Computational modelling and simulation - Monash University

Part 1

Background

This exercise uses the Lotka-Volterra model to explore the sustainability of an ecosystem with rabbits, foxes and hunting. We start by exploring the effect of hunting rates rates in a deterministic model.

A stochastic extension further allow us to explore the sustainability of the ecosystem using a combination of Gillespie and Montecarlo simulations.

Questions Part 1

The system tracks the number of rabbits x, and foxes y, and the dynamics are given by:

x. = g(x, y)
y. = h(x, y)

In the absence of foxes and hunting, rabbits grow exponentially with a growth rate b and a death rate d (b > d); the number of rabbits eaten by foxes is proportional to the product of the number of rabbits present and the number of foxes present by a factor α. Foxes decline exponentially in isolation, with a birth and death rate b' and d', respectively (d' > b'). A parameter β is the proportional constant of foxes surviving by eating rabbits - thus foxes in the presence of rabbits increase at a rate b' + βx proportional to the number of foxes. Rabbits are hunted at a rate f , where as foxes are twice as hard to hunt.

(a) Formulate g(x, y) and h(x, y) reflecting the assumptions above∗.

(b) Using your own RK2 numerical integrator, inspect the dynamics of this system for different hunting rates f. Assume b = 0.8, d = 0.1, b' = 0.1, d' = 0.6, α = 0.04, and β = 0.01. The initial population  consist of 25 rabbits, and 15 foxes. You should study at least 3 different hunting rates, and present the time-evolution of the system as well as a phase plot of the dynamics for each parameter set.

What should you submit for this question?
You will have to submit
• Your own implementation of RK2.
• For each of your chosen f rates, a time-evolution plot, a phase plot and an interpretation of the dynamics.

Questions Part 1B

When populations are finite and small, stochastic effects can be significant. In the case of the population model above, a stochastic model can account for the extinction of very small populations.

To study these extinction events,

(a) Formulate and implement a Gillespie algorithm of the model above, and do a similar exploration of the same parameters, now using the stochastic model. What features are now salient due to stochasticity?

(b) We define the system to be sustainable if the probability of extinctions in a time horizon of 10 years is less than 0.2. Using Montecarlo as well as your Gillespie implementation, determine what is the largest hunting rate that guarantees a sustainable ecosystem. Explain how you set up your computational experiments and the reasoning behind your answer.
∗Hint: This should be very similar to the Lotka-Volterra model studied in the lectures

What should you submit for this question?
You will have to submit
• Description and implementation of the Gillespie algorithm.
• Discussion of the effects of stochasticity, comparing the deterministic and stochastic models.

horizon up to t = 10. Reasoning and evidence of your chosen hunting rate to guarantee a sustainable • Explanation of how to estimate, using Montecarlo, the probability of extinctions happening in a time system as defined.

Part 2: A simplified Schelling model

Background
The Schelling model was proposed by Thomas Schelling to explain segregation. We discussed the ba- sic elements of the model in the first lecture of the unit. Because the model has a very large num- ber of possible states it is hard to compute the quantities of interest exactly, mostly having to rely on Montecarlo simulations.

To make this model tractable we propose a simplified version of the model, using Markov chains. The model is described below.

say 0 and 1. There are no empty positions, thus, a cycle of size n also implies n agents.‡ In this simplified In the simplified Schelling model agents live on a cycle of finite size n. Agents can be of two types, version there are no thresholds. Instead, an agent is "happy" if at least one of her neighbours is of the same type.

Time is discrete, so t = 1, 2, 3, . . . . The dynamics go as follows: At each time-step, two individuals (residing in different slots, not necessarily adjacent) are matched to potentially trade places. Each encounter may result in the agents trading places or retaining their position. Agents will agree to trade places if and only if at least one of the two agents benefits§, and none of the two is worse off after the swap. The matching procedure is randomly uniform. It is easy to see that this process gives rise to an absorbing Markov Chain.

1180_figure.jpg

Figure 1: Example: A cycle of size 7. According to the rules above, all agents are "happy" except agent 5

Questions Part 2
(a) An absorbing Markov Chain:

- Specify explicitly the transition Matrix of the MC for n = 4. Explain how the transition proba- bilities are computed and how the states are labeled.
- Show the canonical form of the Markov chain for n = 4. Make sure to specify clearly how states are re-labeled or re-ordered if necessary.
- Using Montecarlo simulations show how the absorption time varies with n = 4, 5, 10.
- Numerically approximate the absorption times for n = 4 and n = 5 and show that they agree with the Montecarlo simulations.?

What should you submit for this question?

Your submission must include a report for part 2A, answering the questions and referencing any scripts used to perform the calculations/simulations. The scripts should also be included as part of your submission. Alternatively, if using Python, you can submit a Jupyter notebook containing descriptive text and code.

(b) We now turn to a model in which agent may swap places "by mistake". This means with a probability s they will fail to swap places when they intend to, or will fail to stay put when they should. This small change results in a new chain that is ergodic.

- Specify the full transition matrix for n = 4, compute the stationary distribution numerically and show that it is in agreement with Montecarlo simulations. What can you conclude from this model?

Attachment:- Computational modelling and simulation.rar

Reference no: EM132903180

Questions Cloud

Calculate the venture return on total assets : A venture recorded revenues of $1 million last year and a net profit of $100,000. Calculate the venture return on total assets
Future challenges of the actuary in the takaful industry : Elaborate on How the points mentioned below can become the Future Challenges of the Actuary in the Takaful industry (one paragraph for each point, no words limi
Journalize and post the transactions : Journalize and post the transactions. June 10- Reacquired 500 common shares for treasury at P80 per share. Retained Earnings P 1,200,000.00
Participant observation at some of planning : Would you also interview some of its members, and do participant observation at some of the planning/organization meetings and/or at an upcoming rally?
FIT3139 Computational modelling and simulation Assignment : FIT3139 Computational modelling and simulation Assignment Help and Solution, Monash University - Assessment Writing Service
Describe the factor categories used by venture capitalists : Describe the factor categories used by venture capitalists and other venture investors when they screen venture opportunities for purpose of deciding to invest
What types of risk assessment should a financial service : What types of risk assessment should a Financial Service Provider (FSP) perform on a client who is seeking to obtain a new credit card?
How to implement and maintain new webstore system : Pine Valley Furniture's board of directors is ready to review how to implement and maintain the new webstore system.
Explain some examples of a client personal circumstances : Explain some examples of a client's personal circumstances that may assist a FSP to assess the suitability of the client for a product or service.

Reviews

len2903180

6/1/2021 12:34:09 AM

Hello!! I am a student of software engineering. I need urgent help in Assignment 2 of the FIT3139 Unit of the Software Engineering Degree. I have attached the assignment in the mail. Would you able to complete this assignment plagiarism-free? I would appreciate it if the assignment is done by (Friday of this week).

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