subject
Business, 15.02.2020 05:29 bryan519688

(Population projection) The US Census Bureau projects population based on the

following assumptions:

One birth every 7 seconds

One death every 13 seconds

One new immigrant every 45 seconds

Write a program to display the population for each of the next five years. Assume the

current population is 312032486 and one year has 365 days. Hint: in Python, you

can use integer division operator // to perform division. The result is an integer. For

example, 5 // 4 is 1 (not 1.25) and 10 // 4 is 2 (not 2.5).

Here's what I have but I kept getting wrong numbers... what am I doing wrong?

# Total Population: 312032486

# Total Seconds/Year: 365* 24 * 60 * 60 = 31536000

# Births/Year: 31536000/7 = 4505142.857142857

# Deaths/Year: 31536000/13 = 2425846.153846154

# Immigrations/Year: 31536000/45 = 700800.0

print((312032486) + (4505142.857142857 + 700800 - 2425846.153846154) // 1 )

print((312032486) + (2 * (4505142.857142857 + 700800 - 2425846.153846154)) // 1 )

print((312032486) + (3 * (4505142.857142857 + 700800 - 2425846.153846154)) // 1 )

print((312032486) + (4 * (4505142.857142857 + 700800 - 2425846.153846154)) // 1 )

print((312032486) + (5 * (4505142.857142857 + 700800 - 2425846.153846154)) // 1 )

ansver
Answers: 2

Another question on Business

question
Business, 21.06.2019 14:20
What is the proper adjusted cash balance per bank? (round answers to 2 decimal places, e.g. 52.75.) the proper adjusted cash balance per bank $enter a dollar amount rounded to 2 decimal places (b) what is the proper adjusted cash balance per books? (round answers to 2 decimal places, e.g. 52.75.) the proper adjusted cash balance per books
Answers: 3
question
Business, 22.06.2019 10:30
Trecek corporation incurs research and development costs of $625,000 in 2017, 30 percent of which relate to development activities subsequent to ias 38 criteria having been met that indicate an intangible asset has been created. the newly developed product is brought to market in january 2018 and is expected to generate sales revenue for 10 years. assume that a u.s.–based company is issuing securities to foreign investors who require financial statements prepared in accordance with ifrs. thus, adjustments to convert from u.s. gaap to ifrs must be made. ignore income taxes. required: (a) prepare journal entries for research and development costs for the years ending december 31, 2017, and december 31, 2018, under (1) u.s. gaap and (2) ifrs. (c) prepare the entry(ies) that trecek would make on the december 31, 2017, and december 31, 2018, conversion worksheets to convert u.s. gaap balances to ifrs.
Answers: 1
question
Business, 22.06.2019 17:00
Jillian wants to plan her finances because she wants to create and maintain her tax and credit history. she also wants to chart out all of her financial transactions for the past federal fiscal year. what duration should jillian consider to calculate her finances? from (march or january )to (december or april)?
Answers: 1
question
Business, 22.06.2019 20:10
As the inventor of hypertension medication, onesure pharmaceuticals (osp) inc. was able to reap the benefits of economies of scale due to a large consumer demand for the drug. even when competitors later developed similar drugs after the expiry of osp's patents, regular users did not want to switch because they were concerned about possible side effects. which of the following benefits does this scenario best illustrate? a. first-mover advantages b. social benefits c. network externalities d. fringe benefits
Answers: 3
You know the right answer?
(Population projection) The US Census Bureau projects population based on the

following...
Questions
question
Mathematics, 29.01.2020 06:11
question
Social Studies, 29.01.2020 06:12
Questions on the website: 13722359