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

  Assignment-cloud computing slide presentation

Image that you are a member of a development team that is creating a large and important web-based application. This application is critical to the company and must be available 24 hours per day.

  Deadlock prevention and deadlock avoidance

What three conditions must be satisfied in order to solve the critical section problem? What is the difference between deadlock prevention and deadlock avoidance?

  Find out what other features dns mx records provide

MX records are provided to support email; would an analogous WEB record be of use in supporting HTTP?

  Describe the steps in the keypad polling routine

What distinguishes a control data value from a character data value for the LCD module. Describe the steps in the keypad polling routine

  Produce a random starting configuration and print it

In your program, produce a random starting configuration and print it. Then keep applying the solitaire step and print the result. Stop when the solitaire final configuration is reached.

  Organize your thought in a structured format.

symbol such as an open square or heavy dot that precedes a line of text when the text warrants special emphasis

  Monthly reporting form for checking account customers

As part of a larger system project. Clone Bank of Clone, Colorado, desires your help in setting up a new monthly reporting form for its checking account customers.

  Design a program that asks the user to enter 10 golf scores

design a program that asks the user to enter 10 golf scores. the scores should be stored in an Integer array. Sort the array in ascending order and display its contents).

  Write a program that prompts the user

Java: Write a program that prompts the user to enter the number of students and each student's name and score, than display the name of the student with the highest score.

  How have the salaries and skills changed

How have the salaries and skills changed?

  Duplicate elements from an array list of integers

Write a method that removes the duplicate elements from an array list of integers using the following header:

  Show that the algorithm gives 1000001

It is sometimes possible to reduce the size of the output file at the last stage of the encoding process. Consider encoding b followed by EOF, using the arrangements from Exercise 1.

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