Question
A fruit vendor sells peaches and pears at a local market. Yesterday, the vendor sold a total of 15 fruits and collected $40 in revenue. The price of each peach is $3, and the price of each pear is $2. How many peaches did the vendor sell yesterday? (1 point)
Responses
5
5
10
10
30
30
3
Responses
5
5
10
10
30
30
3
Answers
GPT-4o mini
Let \( p \) be the number of peaches sold and \( r \) be the number of pears sold. We know:
1. The total number of fruits sold:
\[
p + r = 15
\]
2. The total revenue collected:
\[
3p + 2r = 40
\]
Now, we can solve this system of equations. From the first equation, we can express \( r \) in terms of \( p \):
\[
r = 15 - p
\]
Next, we substitute \( r \) into the second equation:
\[
3p + 2(15 - p) = 40
\]
Simplifying this equation:
\[
3p + 30 - 2p = 40
\]
\[
p + 30 = 40
\]
\[
p = 40 - 30
\]
\[
p = 10
\]
Thus, the vendor sold **10 peaches**.
The answer is:
10
1. The total number of fruits sold:
\[
p + r = 15
\]
2. The total revenue collected:
\[
3p + 2r = 40
\]
Now, we can solve this system of equations. From the first equation, we can express \( r \) in terms of \( p \):
\[
r = 15 - p
\]
Next, we substitute \( r \) into the second equation:
\[
3p + 2(15 - p) = 40
\]
Simplifying this equation:
\[
3p + 30 - 2p = 40
\]
\[
p + 30 = 40
\]
\[
p = 40 - 30
\]
\[
p = 10
\]
Thus, the vendor sold **10 peaches**.
The answer is:
10