Simulate bacteria growth

Assignment Help Basic Computer Science
Reference no: EM131412606

The aim of this exercise is to simulate bacteria growth.

Suppose that a certain type of bacteria divides or dies according to the following assumptions:

(a) During a fixed time interval, called a generation, a single bacterium divides into two identical replicas with probability p.

(b) If it does not divide during that interval, it dies.

(c) The offspring (called daughters) will divide or die during the next generation, independently of the past history (there may well be no offspring, in which case the colony becomes extinct).

Start with a single individual and write a script which simulates a number of generations. Take p=0.75. The number of generations which you can simulate will depend on your computer system. Carry out a large number (e.g., 100) of such simulations. The probability of ultimate extinction, p(E), may be estimated as the proportion of simulations that end in extinction. You can also estimate the mean size of the nth generation from a large number of simulations. Compare your estimate with the theoretical mean of (2p)n. Statistical theory shows that the expected value of the extinction probability p(E) is the smaller of 1, and (1-p)/p. So for p=0.75, p(E) is expected to be 1/3. But for p≤0.5, p(E) is expected to be 1, which means that extinction is certain (a rather unexpected result). You can use your script to test this theory by running it for different values of p, and estimating p(E) in each case.

Reference no: EM131412606

Questions Cloud

Three of the most influential neo-freudians were : The rational part of the psyche that deals with reality and tries to meet the needs of the other two mental structures is called the.A relatively stable and consistent characteristic that can be used to describe someone is known as a.
Explain what you believe to be the origins of animals : Read the New York Times article entitled "From Single Cells, a Vast Kingdom Arose" then provide a summary of the article. Next discuss what you believe to be the origins of animals.
Translate statements into symbolic form- pop or rock or jazz : Translate the following statements into symbolic form using capital letters to represent affirmative English statements.- Either Mariah Carey sings pop and Elton John sings rock or Diana Krall sings jazz.
University library-kudler fine foods virtual organization : Use the Virtual Organization link on the student website to access additional company information on Kudler Fine Foods. Use the Virtual Organization link on the student website to access additional company information on Kudler Fine Foods.
Simulate bacteria growth : So for p=0.75, p(E) is expected to be 1/3. But for p≤0.5, p(E) is expected to be 1, which means that extinction is certain (a rather unexpected result). You can use your script to test this theory by running it for different values of p, and estim..
Translate statements into symbolic form- jaguar and porsche : Translate the following statements into symbolic form using capital letters to represent affirmative English statements.- Not both Jaguar and Porsche make motorcycles.
Select a client problem that you think calls for ct or cbt : Similar hypotheses underpin cognitive therapy (CT) and cognitive-behavioral therapy (CBT), yet the application of each is different when working with clients. CT involves adjusting how clients think and feel. CBT involves adjusting how clients thi..
Write a script to simulate each player’s chances of winning : Write a script to simulate each player's chances of winning, if they always play at random.
Female reproductive system external genitalia diagram : Female Reproductive System External Genitalia Diagram. Locate, label and color each of the structures and regions listed below on the black and white unlabeled external genitalia (vulva) diagram found in the assignment section.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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