an apple and a pear cost 25 pesos,a pear and a banana cost 19 pesos and apple and banana cost 16.how much i spend if i buys 1 apple,1 pear and 1 banana?

A+P=25

P+B=19
B+A=16

Buy one from each deal and you will get 2 apples, 2 pears, and 2 bananas for (25+19+16)=60 pesos.

How much would you spend if you buy only one of each?

To find out how much you would spend if you bought 1 apple, 1 pear, and 1 banana, we can use a system of equations.

Let's assign variables to represent the cost of each fruit. Let A be the cost of an apple in pesos, P be the cost of a pear, and B be the cost of a banana.

From the given information, we can form the following equations:

Equation 1: A + P = 25 (an apple and a pear cost 25 pesos)
Equation 2: P + B = 19 (a pear and a banana cost 19 pesos)
Equation 3: A + B = 16 (an apple and a banana cost 16 pesos)

Now, we can solve this system of equations to find the values of A, P, and B.

Subtract Equation 2 from Equation 1:
(A + P) - (P + B) = 25 - 19
Simplifying, we get:
A - B = 6 ---> Equation 4

Add Equation 3 to Equation 1:
(A + P) + (A + B) = 25 + 16
Simplifying, we get:
2A + P + B = 41 ---> Equation 5

Now, we have a system of two equations:
Equation 4: A - B = 6
Equation 5: 2A + P + B = 41

We can solve this system of equations by substitution or elimination.

Let's solve it using elimination:
Multiply Equation 4 by 2:
2(A - B) = 2(6)
2A - 2B = 12 ---> Equation 6

Add Equation 5 and Equation 6:
2A + P + B + 2A - 2B = 41 + 12
4A + P - B = 53

Now, we have a new equation:
4A + P - B = 53 ---> Equation 7

Now, add Equation 7 and Equation 4:
4A + P - B + (A - B) = 53 + 6
5A + P - 2B = 59

Solve this equation for A:
5A = 59 + 2B - P
A = (59 + 2B - P)/5

We can see that A depends on the values of B and P.

Unfortunately, without knowing the specific values of B and P, we cannot determine the exact cost you would spend on an apple, a pear, and a banana.

To find the actual cost, you would need to know the specific values of B and P.