Answer:
The number of bagels is 11 and the cups of coffee is 12.
Explanation:
Given:
Keisha bought cups of coffee and bagels for the people in her office. Each bagel cost $2 and each cup of coffee cost $1.50.
Keisha spent a total of $40 to buy 23 items.
Now, to find the number of cups of bagels and coffee.
As given in question:
Let
represent the number of bagels.
And
represent the number of cups of coffee.
So, the total number of items:
![x+y=23](https://img.qammunity.org/2021/formulas/mathematics/high-school/4wn5al794euffkj33f0a1nls7sw8akngu2.png)
......(1)
Now, the total money spent on items:
![2x+1.50y=40](https://img.qammunity.org/2021/formulas/mathematics/high-school/usj3wjvkenyp2wu67wzjdbnmps523di9nl.png)
Substituting the value of
from equation (1):
![2(23-y)+1.50y=40](https://img.qammunity.org/2021/formulas/mathematics/high-school/iyy5jqzr691numq9rmxejylsz4cxhgsyrb.png)
![46-2y+1.50y=40](https://img.qammunity.org/2021/formulas/mathematics/high-school/8ftdxs1qgv9c5i7mkqvtvm1rnqtn969zy8.png)
![46-0.50y=40](https://img.qammunity.org/2021/formulas/mathematics/high-school/5as8hp2hlo1z5wlvmbc19agl9qmnk2ti94.png)
Subtracting both sides by 46 we get:
![-0.50y=-6](https://img.qammunity.org/2021/formulas/mathematics/high-school/eypi0n3egw3l4f0m6udyh2fo5dj0x2rzub.png)
Dividing both sides by -0.50 we get:
![y=12.](https://img.qammunity.org/2021/formulas/mathematics/high-school/dukm97b0lkrn4duap0gicdr142y20igvwg.png)
The number of cups of coffee = 12.
Now, to get the number of bagel we substitute the value of
in equation (1):
![x=23-y](https://img.qammunity.org/2021/formulas/mathematics/high-school/jgni6zywb1h4kgr0byi7cu98burfv21sms.png)
![x=23-12](https://img.qammunity.org/2021/formulas/mathematics/high-school/51sa5os8h6snpthjfyd78ngurt6fpvo509.png)
![x=11.](https://img.qammunity.org/2021/formulas/mathematics/high-school/f2ewtwgjy86e0jgx612a42tttj44eyfkrv.png)
The number of bagels = 11.
Therefore, the number of bagels is 11 and the cups of coffee is 12.