ANSWER
• Apple = $0.29
,
• Banana = $0.05
,
• Cantaloupe = $0.89
Step-by-step explanation
First, we have to name the variables:
• x = cost of one apple
,
• y = cost of one banana
,
• z = cost of one cantaloupe
Next, we have to write equations for the purchases each person did:
• Liz,: 3 apples (3x), 12 bananas (12y), and 1 cantaloupe (z) for $2.36
,
• Bob,: 12 apples (12x), no bananas (0y), and 2 cantaloupe (2z) for $5.26
,
• Carol,: no apples (0x), 2 bananas (2y), and 3 cantaloupe (3z) for $2.77
We have the following system of equations,
We can solve this system using the method of substitution.
Solve the second equation for x,
Solve the third equation for y,
Next, replace x and y with these two expressions as functions of z in the first equation,
We have an equation for z. Apply the distributive property to eliminate the parenthesis,
Solve the products and quotients - with the help of a calculator,
Add like terms,
Subtract 17.935 from both sides,
And divide both sides by -17.5,
Now, knowing that z = 0.89, we can replace this value into the second and third equations that we solved for x and y before,
Solving this with the help of a calculator, we get x = 0.29.
For y,
Again, using a calculator, we have that y = 0.05.
Hence, the cost of each fruit is:
• Apple = $0.29
,
• Banana = $0.05
,
• Cantaloupe = $0.89