1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Anton [14]
3 years ago
6

For example, one might start with a population of 500 organisms, a growth rate of 2, and a growth period to achieve this rate of

6 hours. Assuming that none of the organisms die, this would imply that this population would double in size every 6 hours. Thus, after allowing 6 hours for growth, we would have 1000 organisms, and after 12 hours, we would have 2000 organisms.Write a program that takes these inputs and displays a prediction of the total population.An example of the program input and output is shown below:Enter the initial number of organisms: 10Enter the rate of growth [a real number > 0]: 2Enter the number of hours to achieve the rate of growth: 2Enter the total hours of growth: 6The total population is 80
Computers and Technology
1 answer:
maks197457 [2]3 years ago
6 0

Answer:

The Python code is given below with appropriate comments

Explanation:

def predict_population_growth():

#Prompt and read the input from the user

num_org = int(input("Enter the initial number of organisms: "))

GR = float(input("Enter the rate of growth [a real number > 0]: "))

numHour = int(input("Enter the number of hours to achieve the rate of growth: "))

totalHours = int(input("Enter the total hours of growth: "))

#caluclate the total poulation growth

population = num_org

hours = 0

while hours < totalHours:

    population *= GR

    hours += numHour

print(" The total population is " + str(int(population)))

predict_population_growth()

You might be interested in
Java uses ____ to implement method lookup.A) a jump tableB) an inheritance treeC) restricted accessD) polymorphism
sashaice [31]

Answer:

D) polymorphism

7 0
4 years ago
Which feature of a router provides traffic flow and enhances network security?
Vika [28.1K]
The answer would be...<span>ACLs</span>
6 0
3 years ago
An Agile Team decides they want to use pair programming in future Iterations. Where should this be captured? g
Umnica [9.8K]

Answer:

The decision to use pair programming by an Agile Team should be captured in their <em>Inspect and Adapt meeting notes.   </em>

Explanation: The underlying principle for having an agile team that the team is committed to constant incremental and or progressive improvement.

Inspect and Adapt Meeting Notes are notes which hold the summary of past achievements which hold and records of things to do going forward in order to ensure that there is progress and improvement over the last set of objectives.

These notes are usually taken at the Inspect and Adapt meeting. This is simply a meeting held at the end of each project milestone. An agile team during this meeting will review its performance, agree and document how it can be more effective.

Pair programming is also an Agile practice in the parlance of software development. Instead of the regular method where an individual is tasked with the development of an application, in this case, two programmers are tasked with the development of one App.

Sometimes this method is used during Extreme Programming (XP)

Cheers!

7 0
3 years ago
Name the technique used to separate the mixture of colours in black ink ​
Nitella [24]

Answer:

chromatography

hope it helps

6 0
3 years ago
Read 2 more answers
In cell a10 enter a formula using or to display true if net profit before tax in 2019 (cell b5) are greater than 750000(seven hu
mina [271]

The OR Excel function is a function that is used to test several conditions in one statement.

The Excel formula to display true based on the conditions in cell A10 is =OR(B5>750000,C5>750000)

From the question, we have:

  • Cell B5 represents the net profit before tax in 2019
  • Cell C5 represents the net profit before tax in 2020

The syntax of the OR logical function is: =OR([conditions])

So, the Excel formula to display true based on the conditions in cell A10 is =OR(B5>750000,C5>750000)

Read more about Excel formulas at:

brainly.com/question/14820723

4 0
3 years ago
Other questions:
  • What does a company’s code of ethics cover
    8·2 answers
  • To use hand and power tools safely, you should:
    9·2 answers
  • We all interact with various information systems every day: at the grocery store, at work, at school, even in our cars (at least
    11·1 answer
  • You copy several files from one folder to another folder within the same drive. what permissions do the files in the destination
    14·1 answer
  • Web browsers are used to browse the world wide web.
    5·2 answers
  • In Python please:
    14·1 answer
  • How do science, mathematics, and technology each influence engineering
    9·2 answers
  • Which keyboard shortcut can you use to access the go to feature, which will allow you to move quickly to another location in the
    8·1 answer
  • the implications your organization of providing email facilities to individuals in the workplace in terms of security and virus
    10·1 answer
  • I need help! Please please
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!