ŷ= 1.795x +2.195 is the equation for the line of best fit for the data
<h3>How to use regression to find the equation for the line of best fit?</h3>
Consider the table in the image attached:
∑x = 29, ∑y = 74, ∑x²= 125, ∑xy = 288, n = 10 (number data points)
The linear regression equation is of the form:
ŷ = ax + b
where a and b are the slope and y-intercept respectively
a = ( n∑xy -(∑x)(∑y) ) / ( n∑x² - (∑x)² )
a = (10×288 - 29×74) / ( 10×125-29² )
= 2880-2146 / 1250-841
= 734/409
= 1.795
x' = ∑x/n
x' = 29/10 = 2.9
y' = ∑y/n
y' = 74/10 = 7.4
b = y' - ax'
b = 7.4 - 1.795×2.9
= 7.4 - 5.2055
= 2.195
ŷ = ax + b
ŷ= 1.795x +2.195
Therefore, the equation for the line of best fit for the data is ŷ= 1.795x +2.195
Learn more about regression equation on:
brainly.com/question/29394257
#SPJ1
n=2
8+8(8-n)=40+8n (distribute 8 through the parenthesis)
8+64-8n=40-8n (add the numbers)
<em>72-</em>8n=40+8n (move the variable to the left side and change its sign)
<em>72</em><em>-</em>8n+8n=40
-8n+8n=40<em>-72</em> (connect like terms)
-16n = -32 (divide both sides by -16)
<u><em>n=2</em></u>
Answer:
1. n(4.75+30+2.50)
2. 4.75n+30n+2.50n
Step-by-step explanation:
n is the number of shirts they buy. It says that each shirt costs $4.75, and for each shirt they add an extra $30 and $2.50 for the setup fee and to peint each shirt. The word each shows that you have to times. You have to times n by each number or to make it shorter put all three numbers in parenthesis put the n ouside of the parenthesis.
Hope that helps.
Split the room into 2 rectangles
area = 5*4 + 3*3 = 29 sq ft
So the cost is 29*8 = $232