966 views
2 votes
Calvin has a gift card which he is using to buy candy (x), and he has been tracking how much money (y) he spends. He noted that after buying 4 pieces of candy (in all) he has $28.00 left on his card and then after buying 10 pieces of candy (in all) he has $25.00 left on his card. Write the equation of the line that represents his spending on candy

User Limco
by
8.0k points

2 Answers

2 votes

Answer: Equation that represents his spending on candy- y = (³⁄₁₀) x

X = number of candy

Step-by-step explanation:

y = money spend x = number of candy

y = (m)x

cost for 10 pieces of candy = $(28 - 25) = $3

⇛ 3 = (m)x10 (x = 10 & y = 3)

⇛m=(³⁄₁₀)

Therefore the equation representing his spending on candy is

⇛ y = (³⁄₁₀) x

User Daniel Engmann
by
8.4k points
4 votes

Answer:

To write the equation of the line that represents Calvin’s spending on candy, we need to first find the slope and the y-intercept of the line.

We can use the two points given in the problem: (4, 28) and (10, 25)

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

= (25 - 28) / (10 - 4)

= -3/6

= -1/2

The slope represents the rate at which Calvin is spending money on candy.

Now, we can use the point-slope form of the equation of a line to find the equation of the line.

y - y1 = m(x - x1)

y - 28 = (-1/2)(x - 4)

y - 28 = (-1/2)x + 2

y = (-1/2)x + 30

Therefore, the equation of the line that represents Calvin’s spending on candy is y = (-1/2)x + 30.

User Meika
by
8.0k points