Set up a system of equations:
50w+10g+b=500; w+g+b=100
Solve the right equation:
b=100-w-g
Substitute:
50w+10g+100-w-g=500
49w+9g+100=500
49w+9g=400
W and G must be whole numbers, so if w=0, then the closest integer is 44
If g=0, closest integer is 8
I'm seeing no solution mathwise. You have to guess and check.
The cost of 100 fruits is rupees 500. Cost of 1 watermelon ,1 guava,1 banana respectively rupees 50,10 and 1 find the no.of fruit of each type?
2 answers
50w+10g+b=500
w+g+b=100
I'd set w and then work with the others
w=1;
10g+b = 450
g+b = 99
g=39, b=60
Just lucky, I guess; not all selections would come up with integer values.
w+g+b=100
I'd set w and then work with the others
w=1;
10g+b = 450
g+b = 99
g=39, b=60
Just lucky, I guess; not all selections would come up with integer values.