Question: Write a program in Python. At present there are 11 rabbits. The population of rabbits DOUBLES each quarter. What will be the population in year

Write a program in Python. At present there are 11 rabbits. The population of rabbits DOUBLES each quarter. What will be the population in year 2 (when there are three quarters in a year)? Similarly, what will be the population in year 2 (when there are 4 quarters in a year). I want users input to decide about quarters (because your app should work in every country and not just inside the USA).

ANSWER. Population = 2816, initially 11 rabbits, 3 quarters means cycling after every 4 months, 12/4= 3 quarters, total duration=2 years. [Makes sense. More quarters mean more frequent opportunity to date and multiply population growth]. Population = 704, initially 11 rabbits, 4 quarters mean cycling after every 3 months, 12/3=4, total duration=2 years.

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!