Write a model in R or Python to model a Zombie outbreak

Assignment Help Other Subject
Reference no: EM132335639

Assignment - Zombie apocalypse in R or Python

We have seen that Monte Carlo simulations can be very useful for modelling complex situations, often in the real world. Examples of this include the predator/prey model that is designed to simulation populations of wildlife. Recently the BBC ran a program modelling the effect of a flu pandemic in the UK which used a Monte Carlo simulation.

However, as we have been hearing about zombie outbreaks during the intensive week, for this assignment you are asked to model an outbreak of zombies. I've included a paper on the maths of modelling such an outbreak that shows the factors for the model and how it can be solved mathematically. Gives the equation as:

dS/dt = P - BSZ - dS dZ/dt = BSZ + GR - ASZ dR/dt = dS + ASZ - GR

With the following factors:

  • S: the number of susceptible victims
  • Z: the number of zombies
  • R: the number of people "killed"
  • P: the population birth rate
  • d: the chance of a natural death
  • B: the chance the "zombie disease" is transmitted (an alive person becomes a zombie)
  • G: the chance a dead person is resurrected into a zombie
  • A: the chance a zombie is totally destroyed

This page shows how to use Python to solve this equation as an ordinary differential equation. However, while this solves the equation over time, it does not give us an idea of how fast the zombies will travel. So we need to add a new factor:

  • V: Speed of a zombie.

And possibly

  • v: Speed of a non-infected person.

Now we have added that factor the equation cannot be solved as easily. This can be modelled by a random walk simulation, with the first set of factors controlling the population and the chance of a victim. You might like to set up the model with geographically separated non infected populations and investigate how the infection spreads.

For this assignment write a model in R or Python (or both if you think it help) to model a Zombie outbreak with geographically separated populations. Show how the factors above effect the speed of the outbreak.

Write a report on the code you have produced and any results you have generated. Include your code in the appendix (and a zip file of the code). Your report should be less than 10 pages not including code. If you have a large number of illustrations include them in the appendix.

The bottom bit has the -

Now we have added that factor the equation cannot be solved as easily. This can be modelled by a random walk simulation, with the first set of factors controlling the population and the chance of a victim. You might like to set up the model with geographically separated non infected populations and investigate how the infection spreads.

For this assignment write a model in R or Python (or both if you think it help) to model a Zombie outbreak with geographically separated populations. Show how the factors above effect the speed of the outbreak.

Write a report on the code you have produced and any results you have generated. Include your code in the appendix (and a zip file of the code). Your report should be less than 10 pages not including code. If you have a large number of illustrations include them in the appendix.

Attachment:- R or Python Assignment File.rar

Reference no: EM132335639

Questions Cloud

What is atherosclerosis : What is atherosclerosis? Explain why taking aspirin as soon as symptoms of a possible heart attack begin may help the patient.
Identify vitamin classification-what are fat-soluble vitamin : Identify the vitamin classification. What are fat-soluble vitamins? What are high nutrient sources of these vitamins?
What is the general effect of dehydration on the body : What are the functions of water in the body? What is the general effect of dehydration on the body? Explains basic functions and sources of minerals and water.
Discuss in detail human body giving details to every systems : Discuss in detail the human body giving details to every systems and its adaptation.
Write a model in R or Python to model a Zombie outbreak : For this assignment write a model in R or Python (or both if you think it help) to model a Zombie outbreak with geographically separated populations
What is required to kill endospores : What is required to kill endospores? How do you suppose archaeologists were able to date some spores as being thousands (or millions) of years old?
Describe the process of bone growth in width : In 5 to 10 steps describe the process of Bone Growth in Width. In 5 to 10 steps describe the conduction system of the heart. please list in step order
Does there need to be electrolytes in the water : Should you replace the water lost with sweating, yes or no? Does there need to be electrolytes in the water? What about glucose?
Think about how you handle stress : Think about how you handle stress. Then write down a few sentences on how your body handles stressors and which hormones are involved.

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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