Respuesta :
Answer:
y = 1.5x + 12
Step-by-step explanation:
Let the equation that represents the number of toppings (x) and price of pizza (y) is,
y = mx + b
If we plot the points given in the table,
m = Slope of the line
b = y-intercept
Since, slope of a line passing through two points [tex](x_1,y_1)[/tex] and [tex](x_2,y_2)[/tex] is given by,
m = [tex]\frac{y_2-y_1}{x_2-x_1}[/tex]
Therefore, slope of a line passing through (0, 12) and (1, 13.5) will be,
m = [tex]\frac{13.5-12}{1-0}[/tex]
m = 1.5
Here slope of the line represents the increase in price of a pizza with increase in each topping.
y-intercept of the line 'b' = 12 (For x = 0)
Now we put these values in the equation.
y = 1.5x + 12
Therefore, linear regression equation of the line is,
y = 1.5x + 12
The linear regression equation of the restaurant pizza sales is [tex]\^y = 1.5\^x + 12[/tex]
To do this, we make use of a graphing calculator.
From the graphing calculator, we have:
- Sum of X = 21
- Sum of Y = 115.5
- Mean X = 3
- Mean Y = 16.5
- Sum of squares (SSX) = 28
- Sum of products (SP) = 42
A linear regression equation is represented as:
[tex]\^y = b\^x + a[/tex]
Where:
[tex]b =\frac{ SP}{SSX}[/tex]
So, we have:
[tex]b = \frac{42}{28}[/tex]
[tex]b = 1.5[/tex]
Also, we have:
[tex]a = MY - bMX[/tex]
So, we have:
[tex]a = 16.5 - (1.5 \times3)[/tex]
[tex]a= 12[/tex]
Recall that:
[tex]\^y = b\^x + a[/tex]
So, we have:
[tex]\^y = 1.5\^x + 12[/tex]
Hence, the linear regression equation is [tex]\^y = 1.5\^x + 12[/tex]
Read more about linear regression at:
https://brainly.com/question/25987747