I think you must mean a+b kg, since you're taking some of each.
value of x kg of a is ax
value of y kg of b is by
value of mixture is thus ax+by
to sell at c paise/kg,
ax+by = (x+y)*c
now, we only have one equation, so it's hard to pin down both x and y. However, we can let x=1 without loss of generality, because we can then figure y as a multiple of x.
So, letting x=1,
a+by = (y+1)c
a+by-cy = c
y(b-c) = c-a
y = (c-a)/(b-c)
This will be positive, since c is between a and b.
So, if a=5 and b=10, and c=7, then we have x=1, y=2/3
check: 1*5 + (2/3)*10 = 35/3 = (1 + 2/3)*7
So, as long as y = 2x/3, the equation still holds.
Hmmm. I see I was too general. We need x=a and y=b
a^2 + b^2 = (a+b)c
so, if we let a=1, then
1+b^2 = (1+b)c
1+b^2 = c + bc
b^2 - cb + (1-c) = 0
b = 1/2 (c+√(c^2+4c-4))
If we have a=a, instead of a=1, then
b = a/2 (c+√(c^2+4c-4))
check: if we have a=1 and b=1+√2 = 2.8, then we can sell a+b = 3.8kg at $2.
1*1 + (1+√2)(1+√2) = 4+2√2
(1 + 1+2√2)(2) = 4+2√2
You cannot in general pick any random values for a and b and expect to make it fit any given c. You can pick a and b and figure c, or you can pick a and c and calculate b.
Answer this Question
maths - 1. a first train travelling at x km an hour takes t hour less to travel ...
maths - I bought a certain number of apples at 4 for 6 paise and 3/5 of that ...
Maths - how many ways can 6 coins be chosen from 20, one rupee coins, 10 fifty ...
maths - 1 a boy was employed on the understanding that he was to recieve 'p' ...
maths - a boy was employed on the understanding that he was to recieve 'p' paise...
Algebra 2 - . A coffee merchant has two types of coffee beans, one selling for $...
math - I need to solve as an equation. A coffee merchant has coffee beans that ...
algebra - a coffee shop mixed brazilian coffee worth $5 per kg with Turkish ...
algebra - Mixture Problems Template – Price Problems Copy the problem from the ...
algebra - A store mixes kenyan coffee worht $12 per kilogram and turkish coffee ...