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
The prolonged electrical depolarization of cardiac muscle cells that occurs during contraction is due primarily to the persisten
luda_lava [24]

Answer:

The prolonged electrical depolarization of cardiac muscle cells -that occurs during contraction- is due primarily to the persistent influx of calcium ion

Explanation:

The action potential of the heart muscle is longer with respect to skeletal muscle (around 300 milliseconds), and this is due to the activity of calcium (Ca⁺⁺ ) in the intracellular compartment.

The initial depolarization of cardiac muscle fiber depends on the entry of sodium (Na⁺) into the cell. However, for the action potential to occur and be maintained, Ca⁺⁺  must increase its cytoplasmic levels, which depends on:

  1. The increase in intracellular sodium induces the release of Ca⁺⁺ from the sarcoplasmic reticulum.
  2. Calcium entry from the extracellular space through the voltage dependent Ca⁺⁺ channels.
  3. The entry of extracellular Ca⁺⁺ causes the release of more Ca⁺⁺ ions by the sarcoplasmic reticulum, further increasing its intracellular concentration.

This is how the ion that guarantees the duration of the action potential of the cardiac muscle cell is the Ca⁺⁺.

Learn more:

Calcium, sodium and cardiac muscle cells brainly.com/question/4473795

4 0
3 years ago
Why is an understanding of cells essential for making informed decisions about your health
kvv77 [185]
Cell is our microscopic structure. We have Trillions of cells in our body, which plays very important roll. Our every tissue, organ, organ system, our whole body has composed of cells. In order to make a nice and informed decision for our health, we must need to understand our body at cellular level

Hope this helps!
8 0
3 years ago
Sulfur dioxide (SO2) and hydrogen sulfide (H2S) gases are released on a large scale by certain forms of industry, and can react
maria [59]
<span>sulfuric acid - acid rain. Damages forests, limestone statues/buildings, lakes (alters pH) etc. Sulphur trioxide is a pollutant, which is also detrimental to health. Mark me the brainiest!</span>
7 0
3 years ago
Whats glucose without the water molecules?
ANTONII [103]

Answer:

qewfds

Explanation:

8 0
3 years ago
Read 2 more answers
Jesslyn needs to create a project that shows geographic isolation in action and decides to make a video which of the following w
KatRina [158]

Answer:

Easter Island

Fiji

Hawaii Island

Explanation:

6 0
4 years ago
Other questions:
  • which is not a function of the cell membrane? a) to control what enters and leaves b) to protect the cell’s contents c) to provi
    15·2 answers
  • Which of the following is an example of groupthink?
    7·1 answer
  • What the similarities between mid ocean ridge and trenches?
    10·1 answer
  • A group of the same species, living together and breeding is known as a
    11·2 answers
  • The goal of transcription is to produce a ________from a________
    5·1 answer
  • What is one reason dna is linked to all body functions?
    12·1 answer
  • Based on the phylogenetic chart, which three statements are true about the relationship between the organisms?
    6·2 answers
  • In 1918, an influenza pandemic that originated with avian flu killed 50 million people. Researchers isolated samples of that vir
    15·1 answer
  • Free p o i n t s here you go
    14·1 answer
  • Human embryonic development is the development and formation of the human embryo. It is characterized by the process of cell div
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!