Computer Science, asked by Anonymous, 1 month ago

The population of a country increasing at the rate of 10% per year. Write a program to calculate
the population of the country at the beginning of 2030 after taking initial papulation as input on the
1
st January of 2021.

Pls solve fast

Answers

Answered by roshaniyadav8579
0

Answer:

Mark me as Brainlist.

Hope it will help you

Explanation:

Given that the rate of increase of the population of a country is proportional to the number of people living presently in the country.

i.e.,

dt

dP

=kP,where P is the population.

k is the proportionalitiy constant.

P

1

dP=∫kdt

⟹lnP=kt+c

Let P

i

be the initial population of the country,

∴ t=0⟹P=P

i

.

∴P=P

i

e

kt

Given at t=2years population is doubled which gives,

2=e

2k

⟹k=ln(

2

)

Given at t=3years population of the country is 20000,

⟹20000=P

i

e

3ln

2

∴P

i

=

2.8284

20000

⟹P

i

=7071

∴ the initial population of the town is 7071.

Answered by anshagarwalcls7b
0

Answer:

Population Growth Based On Annual Increase 4. ... Final population size with given annual growth rate and time. ... The above Table 1 will calculate the population size (N) after a certain .

Similar questions