A fruit seller bought m pears and twice as many mangoes. He also bought 10 fewer peaches than pears. Each pear cost RM 0.40 cents, each mango cost RM 0.50 cents while each peach cost RM 0.80. If the fruit seller paid RM 102. Find the value of m.

pears: m

mangoes: 2m
peaches: m-10

.4m + .5(2m) + .8(m-10) = 102
m = 50

Let's solve step by step:

Let's assume the number of pears bought by the fruit seller is m.

The number of mangoes bought by the fruit seller is twice as many as pears, so the number of mangoes is 2m.

The number of peaches bought is 10 fewer than the pears, so the number of peaches is m - 10.

The total cost of pears is m * 0.40 = 0.40m RM.

The total cost of mangoes is 2m * 0.50 = 1.00m RM.

The total cost of peaches is (m - 10) * 0.80 = 0.80m - 8 RM.

The fruit seller paid a total of RM 102, so the equation is:

0.40m + 1.00m + 0.80m - 8 = 102.

Combining the like terms, we get:

2.20m - 8 = 102.

Adding 8 to both sides, we get:

2.20m = 110.

Dividing both sides by 2.20, we get:

m = 50.

Therefore, the fruit seller bought 50 pears.

To find the value of m, we need to set up equations based on the given information.

Let's start by setting up an equation for the number of pears the fruit seller bought. We know the number of peaches bought is 10 fewer than the number of pears, which means the number of pears is (number of peaches) + 10.

Let's say the number of pears is m.

Therefore, the number of peaches is m + 10.

Now we can set up an equation for the cost of the pears, mangoes, and peaches.

The cost of the pears is given by: (number of pears) * (cost per pear) = m * 0.40.

The cost of the mangoes is given by: (twice the number of pears) * (cost per mango) = (2m) * 0.50.

The cost of the peaches is given by: (number of peaches) * (cost per peach) = (m + 10) * 0.80.

The total cost is RM 102, so we can write the equation:

(m * 0.40) + ((2m) * 0.50) + ((m + 10) * 0.80) = 102.

Now we can solve this equation to find the value of m.

(m * 0.40) + (2m * 0.50) + (m + 10) * 0.80 = 102.

0.40m + 1m + 10 + 0.40m + 0.80 = 102.

1.80m + 10.80 = 102.

1.80m = 102 - 10.80.

1.80m = 91.20.

Now, we can solve for m by dividing both sides by 1.80:

m = 91.20 / 1.80.

m ≈ 50.67.

Therefore, the value of m is approximately 50.67.