Hi Morgan, set this up as a system of linear equations. Here is the information provided:
Let p = peanuts, which cost 17 cents per ounce
Let c = cashews, which cost 42 cents per ounce
Let a = almonds, which cost 50 cents per ounce
The number of cashews equals the number of almonds.
The package weight is 17 ounces, or p + c + a = 17
The package costs $4.63, or .17p + .42c + .50a = 4.63
Our two equations are:
p + c + a = 17
.17p + .42c + .50a = 4.63
This gives two equations in three unknowns, which we cannot solve. We have to use the fact the number of cashews equals the number of almonds to eliminate one of the unknowns.
The revised equations become:
p + c + c = 17
.17p + .42c + .50c = 4.63
This gives us two equations in two unknowns, which has like terms to combine.
p + 2c = 17
.17p + .92c = 4.63
I do not like to work with fractions or decimals, therefore, I will multiply the second equation by 100. This gives:
p + 2c = 17
17p + 92c = 463
Multiply the first equation by -17 and add it to the second equation:
-17p - 34c = -289
17p + 92c = 463
----------------------, subtract the equations gives:
58c = 174
Divide both sides by 58, gives c = 3. Since there are the same number of almonds as cashews, there are 3 almonds in the mix.
To find the number of peanuts, solve the original first equation substituting for c and a:
p + 3 + 3 = 17
Combine like terms:
p + 6 = 17
Subtract 6 from both sides gives:
p = 11
The mixture will have 11 ounces of peanuts, 3 ounces of cashews, and 3 ounces of almonds.
You can check your work by replacing the number of ounces for each nut in the second equation:
.17 * 11 + .42 * 3 + .50 * 3 = 4.63
1.87 + 1.26 + 1.50 = 4.63
4.63 = 4.63, the numbers check!