Computers and Technology

The following list represents the population of new york state (in hundreds of thousands of people) for the us census in 1790, 1800, 1810, etc., all the way through 2010.
census = [ 340, 589, 959, 1372, 1918, 2428, 3097, 3880, 4382, 5082, \
5997, 7268, 9113, 10385, 12588, 13479, 14830, 16782, \
8236, 17558, 17990, 18976, 19378 ]
copy and paste this list into the start of a new program file. then write code to find the average percentage change from one decade to the next, across all decades. for example, the change from 1790 to 1800 is (589 - 340) / 340 * 100 = 73.2% and the change from 1800 to 1810 is (959 - 589) / 589 * 100 = 62.8% so the average across just these two decades is 68.0%. the output of your program would then simply be: average = 68.0%

answer
Answers: 3

Similar questions

Do you know the correct answer?
The following list represents the population of new york state (in hundreds of thousands of people)...

Questions in other subjects:

Konu
Mathematics, 24.02.2021 02:40