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

  What is the asymptotic time complexity of algorithm

Suppose an algorithm has two parts. The first part involves sorting and takes (10 nlog n) steps, where n is the input size. What is the asymptotic time complexity of the overall algorithm, in Big Theta notation?

  What indicates the big-o value of a given method

What represent the best-case, average-case and worst-case performance of an algorithm? Choose a common method studied in the prerequisite courses (for example searching for a given value in an array, adding a value to a linked list or to an array..

  Calculate the difference between two numbers

Create a template function that can be used to calculate the difference between two numbers. Make it able to use two integers, two floats, and an integer and a float.

  Determining the hr topics presentation

For this assignment, prepare a PowerPoint presentation on the topic you selected (Choose one: Employee Training & Employee Development OR HR-related responsibilities of non-HR managers and supervisors).

  Three basic categories of physical equipment

Microcomputer hardware consists of three basic categories of physical equipment. Name them.

  Digital camera specifications for mobile devices

Research the latest digital camera specifications for mobile devices. Compare the highest-quality mobile device cameras to digital cameras available on the market. Choose one mobile device that has a scanner and answer the following questions:

  Determine entities from functional requirements

Using Crow's feet, determine and draw relationships between entities. (Typically verbs in sentences will recognize these). Find out the entities from functional requirements.

  Let the boy descend at constant velocity

The coefficients of static and kinetic friction between the cable and the rock are µs = 0.4 and µk = 0.35 , respectively

  Discuss currently used tools and recommended measures to def

Web phishing, pharming and vishing are popular web based scams. Discuss currently used tools and recommended measures to defeat this kind of attacks efficiently? Specifically focus on solutions that can be implemented at the network infrastruc..

  Estimate the final dbm value for a radio

Estimate the final dBm value for a radio if the radio has .1 Watt of power, if there is a 4:1 amplifier before transmission, and if there is attenuation to 1/8 the original signal strength between the sender and receiver.

  Software engineering code of ethics

1. "Software Engineering Code of Ethics and Professional Practice" Please respond to the following:•Describe one of the eight principles of the ACM Software Engineering Code of Ethics and Professional Practice and explain why the principle is impo..

  Compare and contrast the four levels of protection

Compare and contrast the four levels of protection used during spill response and cleanup activities. In your discussion, provide an example of a spill or cleanup scenario for each level

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