Question: Write Python code for this question: This question concerns expanding Covid vaccines and reaching herd immunity in the US. Assume that herd immunity is reached
Write Python code for this question:
This question concerns expanding Covid vaccines and reaching herd immunity in the US. Assume that herd immunity is reached and the pandemic ends when 80% of a countrys population is vaccinated. (We will assume for simplicity that only one vaccine is needed.) Assume the following:
-
The population of the US = 330 million
-
Number of people already vaccinated = 32 million
-
Current vaccination rate = 1.2 million per day
This part will take one additional input:
-
Target Time Period (in weeks)
The program will analyze this data, and print the following as output:
-
Percentage of population vaccinated by the end of the target time period if the current vaccination rate is sustained daily.
-
The vaccination rate needed to reach herd immunity by the end of the target time period.
Type out the results you get for these combinations of values in your comments
-
Target Time Period of 8 weeks and 14 weeks
-
Daily increase Rate of 1% and 2.5%
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
