Question

In: Advanced Math

Alternative-Fueled Vehicles The table shows the numbers (in thousands) of alternative-fueled vehicles A in use in...

Alternative-Fueled Vehicles The table shows the numbers (in thousands) of alternative-fueled

vehicles A in use in the United States from 1995 to 2011. (Source: U.S. Energy Information Administration)

Year

Number of vehicles, A

1995

1996

1997

1998

1999

2000

2001

2002

2003

2004

2005

2006

2007

2008

2009

2010

2011

246.9

265.0

280.2

295.0

322.3

394.7

425.5

471.1

534.0

565.5

592.1

634.6

695.8

775.7

826.3

938.6

1191.8

(a) Use a graphing utility to plot the data. Let t represent the year, with t = 5 corresponding to 1995. (b) A model for the data is

4615.36t − 8726.7

1 + 15.01t − 0.542t2, 5 ≤ t ≤ 21

where t = 5 corresponds to 1995. Use the model to estimate the numbers of alternative-fueled vehicles in 1996, 2006, and 2011. How do your answers compare to the original data?

(f ) Use the model to predict the numbers of alternative-fueled vehicles in 2016 and 2017

* Need help to understand F . Should I be using a particular formula

Solutions

Expert Solution


%%Matlab code for plotting
clear all
close all

%data for year wise number of vehicles
year=[1995:2011];
A=[246.9 265 280.2 295 322.3 394.7 425.5 471.1 534 565.5 592.1 634.6 695.8 775.7 826.3 938.6 1191.8];

tt=5:21;

%2nd order polynomial fit
P=polyfit(tt,A,2);
f1=@(t) P(1).*t.^2+P(2).*t+P(3);

fprintf('function for 2nd order fit= (%2.2f)*t^2+(%2.2f)*t+(%2.2f) \n',P(1),P(2),P(3))

%3rd order polynomial fit
P=polyfit(tt,A,3);
f2=@(t) P(1).*t.^3+P(2).*t.^2+P(3).*t+P(4);

fprintf('function for 3rd order fit= (%2.2f)*t^3+(%2.2f)*t^2+(%2.2f)*t+(%2.2f) \n',P(1),P(2),P(3),P(4))

%1st model data
A1=f1(tt);

%2nd model data
A2=f2(tt);

hold on
plot(tt,A,'r*','linewidth',2);
plot(tt,A1)
plot(tt,A2)

xlabel('year')
ylabel('number of vehicle')
title('vehicle number vs. year plot')
legend('Actual data','2nd order fit','3rd order fit','location','best')

fprintf('\t the numbers of alternative-fueled vehicles in 2016 using 2nd order fit=%f\n',f1(26))

fprintf('\t the numbers of alternative-fueled vehicles in 2016 using 3rd order fit=%f\n',f2(26))

fprintf('\t the numbers of alternative-fueled vehicles in 2017 using 2nd order fit=%f\n',f1(27))

fprintf('\t the numbers of alternative-fueled vehicles in 2017 using 3rd order fit=%f\n',f2(27))

%%%%%%%%%%%%%%%%%% End of Code %%%%%%%%%%%%%%%%%


Related Solutions

The table shows the numbers of​ new-vehicle sales​ (in thousands) in the United States for Company...
The table shows the numbers of​ new-vehicle sales​ (in thousands) in the United States for Company A and Company B for 10 years. The equation of the regression line is ModifyingAbove y with caret equals 0.975 x plus 1 comma 259.19. Complete parts​ (a) and​ (b) below. ​New-vehicle sales left parenthesis Company Upper A right parenthesis comma x 4 comma 144 3 comma 880 3 comma 595 3 comma 443 3 comma 295 3 comma 110 2 comma 849 2...
Year Number of Alternative-Fueled Vehicles in US 2000 394,664 2001 425,457 2002 471,098 2003 533,999 2004...
Year Number of Alternative-Fueled Vehicles in US 2000 394,664 2001 425,457 2002 471,098 2003 533,999 2004 565,492 2005 592,125 2006 634,562 2007 695,766 3. Find the correlation and regression lines for the data above. r= LinReg(ax+b)=
Year Number of Alternative-Fueled Vehicles in US 2000 394,664 2001 425,457 2002 471,098 2003 533,999 2004...
Year Number of Alternative-Fueled Vehicles in US 2000 394,664 2001 425,457 2002 471,098 2003 533,999 2004 565,492 2005 592,125 2006 634,562 2007 695,766 1. Do the variables have significant correlation? For full credit, you must show each step of the hypothesis test. Use the 0.05 significance. 2. In 2008, the price of gas dropped drastically and hit a low average of $1.59 for the nation. What effect do you think this will have on the alternative-fuel car sales, if any?...
The table to the right shows the number of​ people, in​ thousands, in a country without...
The table to the right shows the number of​ people, in​ thousands, in a country without health insurance in a certain year. Complete parts​ a) through​ d) below. Insured Uninsured Under 18 years 67 comma 22767,227 7 comma 0537,053 18 to 24 years 21 comma 37221,372 8 comma 8308,830 25 to 34 years 29 comma 10929,109 11 comma 58211,582 35 to 44 years 31 comma 62231,622 8 comma 0258,025 45 to 64 years 67 comma 16167,161 13 comma 03113,031 65...
The table to the right shows the number of​ people, in​ thousands, in a country without...
The table to the right shows the number of​ people, in​ thousands, in a country without health insurance in a certain year. Complete parts​ a) through​ d) below. Insured Uninsured Under 18 years 67 comma 02567,025 7 comma 4337,433 18 to 24 years 21 comma 08721,087 8 comma 8648,864 25 to 34 years 29 comma 33729,337 11 comma 25711,257 35 to 44 years 31 comma 77831,778 8 comma 2798,279 45 to 64 years 67 comma 06267,062 13 comma 46513,465 65...
The table to the right shows the number of men and​ women, in​ thousands, enrolled in​...
The table to the right shows the number of men and​ women, in​ thousands, enrolled in​ degree-granting institutions in a certain year. The men and women are categorized by their age groups. Complete parts​ a) through​ f) below. Men Women 14 to 17 years old 1313 1010 18 and 19 years old 274274 322322 20 and 21 years old 281281 452452 22 to 24 years old 542542 681681 25 to 29 years old 433433 829829 30 to 34 years old...
The table shows the number of people, in thousands, in a country without health insurance in...
The table shows the number of people, in thousands, in a country without health insurance in a certain year. Insured Uninsured UNDER 18 YEARS 67,936 7,627 18 TO 25 YEARS 21,847 8,814 25 TO 34 YEARS 29,993 11,039 35 TO 44 YEARS 31,973 8,799 45 TO 54 YEARS 67,710 13,467 65 YEARS AND OLDER 38,423 757 a) What percentage of the countries' population in the year did not have health insurance and was between the ages of 18 to 24...
The table below shows the number of hybrid cars sold (in thousands) in the US in...
The table below shows the number of hybrid cars sold (in thousands) in the US in the following years.                                                          * Source: Wikipedia Year Hybrid cars sold in US (in thousands) 2000 9.35 2002 36.04 2004 84.20 2007 352.27 2010 274.21 2014 452.15 Find an exponential regression equation for the data. Let x = 0 represent the year 2000. Round a to two decimal places, and round b to four decimal places. Describe what a and b tell you from your...
The following table shows the price of a sample of new mobile homes (in thousands of...
The following table shows the price of a sample of new mobile homes (in thousands of dollars). Find a 95% confidence interval for the average price of a new mobile home. 24.4 30.6 26.4 26.8 33.5 32.2 32.4 13.9 24.4 29.3 26.2 14.1 21.4 20.0 33.0 17.6 24.8 27.0 22.8 18.8 35.1 26.7 22.1 37.2 31.9 24.0 28.4 15.8 29.3 31.4 22.8 8.4 24.7 16.6 31.1 13.9 16.8 29.5 17.0 9.9
The accompanying table shows the annual​ salaries, in thousands of​ dollars, earned by a sample of...
The accompanying table shows the annual​ salaries, in thousands of​ dollars, earned by a sample of individuals who graduated with MBAs in the years 2012 and 2013. Perform a hypothesis test using α equals= 0.05 to determine if the median salary for 2012 MBA graduates is lower than 2013 MBA graduates. Salaries​ (in thousands of​ dollars) for 2012 MBA graduates 92.6 66.1 60.6 85.5 92.8 44.7 84.4 81.1 44.2 94.3 66.6 61.6 94.6 81.6 Salaries​ (in thousands of​ dollars) for...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT