108k views
5 votes
Handy Andy sells 23 oz. cans of green beans for 63 cents and 15 oz. cans for 45 cents. Assume the price varies linearly with the number of ounces.

Q: Write a function to express the price in terms of the number of ounces in a can.

a. P = 3.2N + 27
b. P = 2.7N - 18
c. P = 2.3N + 45
d. P = 1.5N - 10

1 Answer

7 votes

Final answer:

To express the price in terms of the number of ounces in a can, we can find a linear equation using two points on the line: (23, 63) and (15, 45). The slope of the line is 2.25, and using the point-slope form of a linear equation, we can find the equation of the line to be P = 2.25N - 51.75.

Step-by-step explanation:

To express the price in terms of the number of ounces in a can, we need to find a linear equation that relates the price (P) to the number of ounces (N).

We are given two points on the line: (23, 63) and (15, 45). Using these points, we can find the slope of the line: m = (63 - 45) / (23 - 15) = 18 / 8 = 2.25

Next, we can use the point-slope form of a linear equation to find the equation of the line: y - y1 = m(x - x1)

Using the point (23, 63), we have: P - 63 = 2.25(N - 23)

Simplifying, we get: P = 2.25N - 51.75

Therefore, the function to express the price in terms of the number of ounces is: P = 2.25N - 51.75

User Tessafyi
by
8.2k points