Question

In: Computer Science

100 bacteria cells are inoculated into a medium containing sufficient nutrients. Assuming it takes extactly one...

100 bacteria cells are inoculated into a medium containing sufficient nutrients. Assuming it takes extactly one hour for any cell to divide. Write a program to calculate how many hours it takes for this cell population to reach a million cells. Use python please and get exact time value for 1,000,000 cells in while or if statement

Solutions

Expert Solution

code:

no_of_cells = 100 #initial count of bacteria cells
total_cells = 1000000 #final minimal count of bacteria cells

no_of_hours=0 #initial time no of hours is 0

while no_of_cells < total_cells: # loop will end no of cells is greater or equal to 1 million
no_of_cells= no_of_cells*2 #for every hour bacterial count will double and replace with new count
no_of_hours = no_of_hours +1 # increase no of hours

print("No of hours: ",no_of_hours) #print final no of hours
print("Total cells: ",no_of_cells) # print final no of cells

screenshots:


Related Solutions

1. A bacterium is inoculated into a medium containing two carbon sources, one of which is...
1. A bacterium is inoculated into a medium containing two carbon sources, one of which is the bacterium’s preferred carbon source. The resulting growth curve shows two lag phases. Explain this phenomenon. What is this type of growth called? Include a diagram of what the growth curve would look like and indicate the usage of each carbon source. 2. An experiment is performed in lab in which gene expression profiles are measured during different growth phases. Each growth phase had...
j A medium containing substance that cause some bacteria to look differently than others is called...
j A medium containing substance that cause some bacteria to look differently than others is called a differential medium. MSA is a medium that changes colors when S. aureus is present because that species can ferment the mannitol in the medium and cause a pH change. T or F Calculation of Bacterial Counts from a Dilution Plate: A total of 145 colonies were counted on the plate that received 1.0 mL of the 1:10,000 dilution of a specimen. The bacterial...
E. coli cells are growing in a medium containing lactose but no glucose. Indicate whether each...
E. coli cells are growing in a medium containing lactose but no glucose. Indicate whether each of the following changes or conditions would increase, decrease, or not change the expression of the lac operon. For full credit, you must explain your answer. It may be helpful to draw a model depicting what is happening in each situation. (a) Addition of a high concentration of glucose (b) A mutation that prevents dissociation of the Lac repressor from the operator (c) A...
How would you make E.coli bacteria cells produce human insulin for you? More than one answer...
How would you make E.coli bacteria cells produce human insulin for you? More than one answer can be correct transform E. coli cells with a gene in which some parts would be from the human insulin gene and other parts from an E. coli gene. you would replace the protein-coding part of a bacterial gene with the exons of the human insulin gene. all the DNA sequences controlling gene expression (promoter, Shine-Dalgarno sequence, transcription terminator) should come from an E....
Write 2 MATLAB functions. One called exptrig which takes a vector of arbitrary length, x, containing...
Write 2 MATLAB functions. One called exptrig which takes a vector of arbitrary length, x, containing any real numbers, and computes the mathematical function f(x) = 3e^(-x)(cos^2(5x) - sin^2(5x)). The other one will be called trigsum, which takes a vector arbitrary length, x, containing any real numbers, and computes the mathematical function g(x)= ((sin(10x) + cos(10x))/ 2) + 3. Both functions will be computed at each of the values of x, and internally will output these values into a vector,...
Assuming you're considering borrowing $100 million to finance your business for 2 years. One option is...
Assuming you're considering borrowing $100 million to finance your business for 2 years. One option is to use fixed-rate financing with interest payments on a semi-annual basis. The other alternative is a floating rate financing based on Libor with interest payments on a quarterly basis. How and when could Libor or other index change to impact the decision? How will the current and near-term economic environment impact your recommendation?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT