Question: IN python code Write a program that predicts the approximate size of a population of bacteria. A single bacteria can divide into two every 30

IN python code Write a program that predicts the approximate size ofIN python code

Write a program that predicts the approximate size of a population of bacteria. A single bacteria can divide into two every 30 minutes. Assume that around 3.5% of the bacteria die before they get to divide. Let a user enter a starting number of bacteria and a positive number of hours. Print out in a neat fashion the hour and approximately how many bacteria there are, use only two digits of precision. Example: Starting Number of Bacteria: 100 Number of Hours to Track: 5 Hour Approximate Population 100 372.49 1387.49 5168.25 19251.23 71708.90

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!