Question

In: Mechanical Engineering

The population data for a certain country are as follows:

The population data for a certain country are as follows:

Year 2004 2005 2006 2007 2008 2009 Population (millions) 10 10.9 11.7 12.6 13.8 14.9

 

Obtain a function that describes these data. Plot the function and the data on the same plot. Estimate when the population will be double its 2004 size.

Solutions

Expert Solution

Function using MATLAB script:

clc;close all;clear all;

year= linspace(2004,2009,6);

population = [10 10.9 11.7 12.6 13.8 14.9];

P = polyfit(year,population,3);

year1 = linspace(2004,2014,21);

PP = polyval(P,year1);

figure

plot(year,population,\'o\')

hold on

plot(year1,PP)

hold off;grid;

xlabel(\'year\');ylabel(\'Poulation(millions)\');

title(\'Population data\')

y2004=population(find(year ==2004));

y=min(year1(find(round(PP)>=2*y2004)));

fprintf(\'The population will be double in the year %d as the population of the year 2004.\\n \',y)

 

Command window:

The population will be double in the year 2012 as the population of the year 2004.


Function using MATLAB script:

clc;close all;clear all;

year= linspace(2004,2009,6);

Related Solutions

The data in the accompanying table represent the population of a certain country every 10 years...
The data in the accompanying table represent the population of a certain country every 10 years for the years​ 1900-2000. An ecologist is interested in finding an equation that describes the population of the country over time. Complete parts ​(a) through ​(f) below. year, x population, y year, x population, y 1900 73212 1960 179323 1910 92228 1970 203302 1920 104021 1980 226542 1930 123202 1990 248709 1940 132164 2000 281421 1950 151325 Determine the P-value of this hypothesis test....
The data in the accompanying table represent the population of a certain country every 10 years...
The data in the accompanying table represent the population of a certain country every 10 years for the years 1900-2000. An ecologist is interested in finding an equation that describes the population of the country over time. Complete parts (a) through (f) below. Year, x 1900 1910 1920 1930 1940 1950 1960 1970 1980 1990 2000 Population, y 76,212 92,228 104,021 123.202 132,164 151,325 179,323 203,302 226,542 248,709 281,421 (A) Determine the least-squares regression equation, treating year as the explanatory...
The data in the accompanying table represent the population of a certain country every 10 years...
The data in the accompanying table represent the population of a certain country every 10 years for the years​ 1900-2000. An ecologist is interested in finding an equation that describes the population of the country over time. Complete parts ​(a) through ​(f) below. LOADING... Click the icon to view the data table. ​(a) Determine the​ least-squares regression​ equation, treating year as the explanatory variable. Choose the correct answer below. A. ModifyingAbove y with caretequals2 comma 022xnegative 1 comma 542 comma...
The data in the accompanying table represent the population of a certain country every 10 years...
The data in the accompanying table represent the population of a certain country every 10 years for the years​ 1900-2000. An ecologist is interested in finding an equation that describes the population of the country over time. Year, x   Population, y 1900   79,212    1910   92,228    1920   104,021    1930   123,202    1940   132,164    1950   151,325    1960   179,323 1970   203,302 1980   226,542 1990   248,709 2000   281,421 ​(a) Determine the​ least-squares regression​ equation, treating year as the explanatory...
question 5 and 6 Data on county A and Country B are as follows: Country A:...
question 5 and 6 Data on county A and Country B are as follows: Country A: Exports (600), Imports (700), GDP (1500). Country B: Exports (900), Imports (1200), GDP (3000). Based on the data above, we can conclude that: Country A is more open than Country B. Country B is more open than Country A. None of the two countries can benefit from international trade since the sum of their exports and imports is less than the value of their...
The table shows the estimated percentage P of the population of a certain country that are...
The table shows the estimated percentage P of the population of a certain country that are mobile-phone subscribers. (End of year estimates are given.) Year 1997 1999 2001 2003 2005 2007 P 2.1 8.2 15.7 25 45.7 62.5 (a) Find the average rate of change of P. (i) From 2003 to 2007 ........................... percentage points per year (ii) From 2003 to 2005 ............................. percentage points per year (iii) From 2001 to 2003 ............................... percentage points per year (b) Estimate the...
The table shows the estimated percentage P of the population of a certain country that are...
The table shows the estimated percentage P of the population of a certain country that are mobile-phone subscribers. (End of year estimates are given.) Year 1997 1999 2001 2003 2005 2007 P 2.1 8.2 15.7 25 45.7 62.5 (c) Estimate the instantaneous rate of growth in 2003 by sketching a graph of P and measuring the slope of a tangent. (Sketch your graph so that it is a smooth curve through the points, and so that the tangent line has...
According to a health organization in a certain? country, 19.6?% of the population smoked in 2008....
According to a health organization in a certain? country, 19.6?% of the population smoked in 2008. In? 2014, a random sample of 750 citizens of this country was? selected, 153 of whom smoked. Complete parts a through c below. a. Construct a 99?% confidence interval to estimate the actual proportion of people who smoked in this country in 2014. A 99?% confidence interval to estimate the actual proportion has a lower limit of nothing and an upper limit of nothing....
In a certain country, 15% of the female adult population smoke regularly. In a random sample...
In a certain country, 15% of the female adult population smoke regularly. In a random sample of 1,000 adults, what is the probability that: a) Less than 125 are smokers? Use the normal approximation to the binomial. b) 150 or more are smokers? Use the normal approximation to the binomial. c) Find answers to (a) and (b) using the binomial distribution and R. Copy and paste the code and the answer into your document.
According to a census​ bureau, 12.5​% of the population in a certain country changed addresses from...
According to a census​ bureau, 12.5​% of the population in a certain country changed addresses from 2008 to 2009. In​ 2010, 14 out of a random sample of 200 citizens of this country said they changed addresses during the previous year​ (in 2009). Complete parts a through c below. a. Construct a 99​% confidence interval to estimate the actual proportion of people who changed addresses from 2009 to 2010. A 99​% confidence interval to estimate the actual proportion has a...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT