a baker buys 19 apples of two different varieties to make pies. the total cost of the apples is $5.10. granny smith apples cost $0.25 each and Gala apples cost $0.30. How many of each type of apple did the Baker buy?

Respuesta :

So let x represent Gala Apples, and let y Represent Granny Smiths

x + y = 19

0.30x + 0.25y = 5.10

y=19-x

0.30x+0.25(19-x)=5.10
0.30x+4.75-0.25x=5.10
0.30x-0.25x=5.10-4.75
0.05x/0.05=0.35/0.05
x=7

x+y = 19
(7) + y =19
y=19-7
y=12

Therefore baker bought 7 gala apples, and 12 granny smiths!






We want to write and solve a system of equations to see how many of each type of apple the baker bought. We will see that the baker bought 7 Gala apples and 12 Granny Smith apples.

Let's define the variables:

  • x =  number of granny smith apples
  • y = number of Gala apples.

We know that he bought 19 in total, so we have:

x + y = 19

And the total cost was $5.10, then we have:

x*$0.25 + y*$0.30 = $5.10

Then we have the system of equations:

x + y = 19

x*$0.25 + y*$0.30 = $5.10

We will solve it by substitution, first, we rewrite the first equation as:

x = 19 - y

Now we replace it on the other equation:

(19 - y)*$0.25 + y*$0.30 = $5.10

Now we can solve this for y, we will get:

$4.75 + y*$0.05 = $5.10

y*$0.05 = $5.10 - $4.75 = $0.35

y = $0.35/$0.05 = 7

Then:

x = 19 - y = 19 - 7 = 12

This means that the baker bought 7 Gala apples and 12 Granny Smith apples.

If you want to learn more, you can read:

https://brainly.com/question/12895249