230k views
4 votes
When a grocery store sells canned hams for 7$ each, the store can sell 450 hams. If the store sells the same for 10$ each, it can only sell 300 hams. Assuming the relationship between price and sales is linear, write the equation you could use to predict the number of hams sold for other prices

User Soyol
by
8.4k points

1 Answer

4 votes

Answer:To determine the equation that can be used to predict the number of hams sold for other prices, we can use the given information about the relationship between price and sales.

Let's denote the price of a canned ham as 'p' and the number of hams sold as 'n'.

We have two data points:

When the price is $7, the store can sell 450 hams.

When the price is $10, the store can sell 300 hams.

From this information, we can establish a linear relationship between the price and the number of hams sold.

We can use the slope-intercept form of a linear equation, y = mx + b, where 'm' represents the slope and 'b' represents the y-intercept.

To find the slope, we can use the formula:

m = (y2 - y1) / (x2 - x1)

Using the data points (7, 450) and (10, 300):

m = (300 - 450) / (10 - 7)

m = -150 / 3

m = -50

Now, we can substitute one of the data points into the slope-intercept form to find the y-intercept, 'b':

450 = -50 * 7 + b

450 = -350 + b

b = 450 + 350

b = 800

Therefore, the equation that can be used to predict the number of hams sold for other prices is:

n = -50p + 800

Where 'n' represents the number of hams sold and 'p' represents the price of a canned ham.

Explanation:

User Orionpax
by
8.6k points