document.write( "Question 868166: Need help!!!\r
\n" );
document.write( "\n" );
document.write( "Company A is a microcomputer producer. The following data represents Company A’s yearly sales volume and its advertising expenditures over a period of 8 years. Sales in millions of dollars and advertising is in $10,000. \r
\n" );
document.write( "\n" );
document.write( "1993 15 32
\n" );
document.write( "1994 16 33
\n" );
document.write( "1995 18 35
\n" );
document.write( "1996 17 34
\n" );
document.write( "1997 16 36
\n" );
document.write( "1998 19 37
\n" );
document.write( "1999 19 39
\n" );
document.write( "2000 24 42 \r
\n" );
document.write( "\n" );
document.write( "Using the method of least squares, what is the estimated regression line between sales and adverting, and the predicted sales in dollars, with an advertising expenditure of $400K actual dollars as scaled to 40. \r
\n" );
document.write( "\n" );
document.write( "a. Sales=-10.4211 =.7895 Advertising: Sales $315,790
\n" );
document.write( "b. Advertising= 16.7143 + 1.0714 Sales: Sales $59.57 Million
\n" );
document.write( "c. Sales=.7895 + 10.421 Advertising: Sales $416.63 Million
\n" );
document.write( "d. Sales= -10.4211 + .7895 Advertising: Sales= $21.16 Million
\n" );
document.write( "e. None of the Above
\n" );
document.write( " \n" );
document.write( "
Algebra.Com's Answer #523377 by ewatrrr(24785)  You can put this solution on YOUR website! \n" );
document.write( "Hi \n" );
document.write( "Do Like the Excel Scatter Plot for Obtaining a Regression - no muss no fuss \n" );
document.write( " . \n" );
document.write( "However, should know how the method of least squares works..same result \n" );
document.write( "but might be a need to know. \n" );
document.write( "x y xy x^2 \n" );
document.write( "32 15 480 1024 \n" );
document.write( "33 16 528 1089 \n" );
document.write( "35 18 630 1225 \n" );
document.write( "34 17 578 1156 \n" );
document.write( "36 16 576 1296 \n" );
document.write( "36 16 576 1296 \n" );
document.write( "39 19 741 1521 \n" );
document.write( "42 24 1008 1764 \n" );
document.write( "287 141 5117 10371 \n" );
document.write( "141 = 8a + 287b \n" );
document.write( "5117= 287a + 10371b \n" );
document.write( "a= 1322362/74073 and b =-469/4073 \n" );
document.write( "y = a + bx \n" );
document.write( "\n" );
document.write( "\n" );
document.write( " Solved by pluggable solver: Using Cramer's Rule to Solve Systems with 2 variables | \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( "  \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " First let . This is the matrix formed by the coefficients of the given system of equations. \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " Take note that the right hand values of the system are and which are highlighted here: \n" );
document.write( "  \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " These values are important as they will be used to replace the columns of the matrix A. \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " Now let's calculate the the determinant of the matrix A to get . Remember that the determinant of the 2x2 matrix is . If you need help with calculating the determinant of any two by two matrices, then check out this solver. \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " Notation note: denotes the determinant of the matrix A. \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " --------------------------------------------------------- \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " Now replace the first column of A (that corresponds to the variable 'x') with the values that form the right hand side of the system of equations. We will denote this new matrix (since we're replacing the 'x' column so to speak). \n" );
document.write( " \n" );
document.write( " \n" );
document.write( "  \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " Now compute the determinant of to get . Once again, remember that the determinant of the 2x2 matrix is  \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " To find the first solution, simply divide the determinant of by the determinant of to get:  \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " So the first solution is  \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " --------------------------------------------------------- \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " We'll follow the same basic idea to find the other solution. Let's reset by letting again (this is the coefficient matrix). \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " Now replace the second column of A (that corresponds to the variable 'y') with the values that form the right hand side of the system of equations. We will denote this new matrix (since we're replacing the 'y' column in a way). \n" );
document.write( " \n" );
document.write( " \n" );
document.write( "  \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " Now compute the determinant of to get . \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " To find the second solution, divide the determinant of by the determinant of to get:  \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " So the second solution is  \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " ==================================================================================== \n" );
document.write( " \n" );
document.write( " Final Answer: \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " So the solutions are and giving the ordered pair (1322362/74073, -469/74073) \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " Once again, Cramer's Rule is dependent on determinants. Take a look at this 2x2 Determinant Solver if you need more practice with determinants. \n" );
document.write( " \n" );
document.write( " \n" );
document.write( " | \n" );
document.write( " \n" );
document.write( "\n" );
document.write( " \n" );
document.write( " |
\n" );