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
dexar [7]
2 years ago
6

A local biologist needs a program to predict population growth. the inputs would be: the initial number of organisms, as an int

the rate of growth (a real number greater than 1), as a float the number of hours it takes to achieve this rate, as an int a number of hours during which the population grows, as an int
Biology
1 answer:
Nitella [24]2 years ago
7 0

"A local biologist needs a program to predict population growth. the inputs would be..." The resultant code is

tp=sp

hours = 1

while (hours < t):

tp *= g

hours += r

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

# the call function

<h3>What is a program?</h3>

Generally, a program is simply defined as programming written into a computer or other equipment in order to do a certain task

In conclusion, to write a program that takes these inputs and displays a prediction of the total population must consider  the parameters and the code platform (python), Hence

# on python interface required library is explored

import math

# describe the functions needed

def prediction():

sp = int(input("Enter the initial number of organism: "))

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

while(g<1):

print ("Invalid.. growth rate.")

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

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

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

tp=sp

hours = 1

while (hours < t):

# the calculation for tp

tp *= g

hours += r

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

#call the created function

CQ

A local biologist needs a program to predict population growth. The inputs would be: 1. The initial number of organisms 2. The rate of growth (a real number greater than 1) 3. The number of hours it takes to achieve this rate 4. A number of hours during which the population grows.                           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.  

Read more about the program

brainly.com/question/14368396

#SPJ1

You might be interested in
Compare and contrast the roles of genetic factors and local conditions in determining physical traits
Vanyuwa [196]
With out genes we wouldn't look, talk, or have our own option's
4 0
3 years ago
Scientific Method<br> Explain why there is not just one scientific<br> method or process:
Inga [223]

Answer:

Some versions have more steps, while others may have only a few. However, they all begin with the identification of a problem or a question to be answered based on observations of the world around us.

Explanation:

please give brainliest

3 0
2 years ago
the unicellular spores of the fern ceretopteris richardii are about 100 um in diameter.calculate the surface-area-to-volume rati
WINSTONCH [101]
The surface area will be:
S.A. = 6l²
S.A = 6(100 x 10⁻⁶)²

Volume = l³
Volume = (100 x 10⁻⁶)³

Surface area to volume ratio:
[6(100 x 10⁻⁶)²] / (100 x 10⁻⁶)³
S.A : Vol = 6 x 10⁴
4 0
3 years ago
Asexual reproduction forming a small protuberance that will become a clone of the parent organism is called
Alex787 [66]

Answer: Platelets

Explanation:

8 0
3 years ago
Which part of the cell theory most aligns with the process of Mitosis?
Archy [21]

Answer:

cell division

cell division

3 0
3 years ago
Other questions:
  • What is the organism that is harmed in the parasitism called ?
    12·2 answers
  • Which organism is a primary consumer
    14·1 answer
  • Which of the following genotypes is homogeneous recessive? ss, Bb, TT, or XY
    10·2 answers
  • In horses, black hair color is dominant to chestnut hair color. If the black horse is homozygous, what is its genotype?
    7·2 answers
  • 1) The molecule that serves as the major source of readily available fuel for neurons and blood cells is ________.
    15·1 answer
  • The Sponge Is A _ Animal Because It Has More Than One Cell
    14·2 answers
  • The function of which human organ is most like the cell walls of bacteria?
    10·1 answer
  • What are the three effects of melting sea ice in the polar regions?
    15·2 answers
  • Which animal is an inverterbrate? <br><br>A.trout<br>B. cat <br>C. snake<br>D. termite​
    9·2 answers
  • Which of the following factors most likely limits the plant population growth in the desert?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!