Hi guys sorry if there is a really easy way to do this...
Our flat got a powerbill and wants to break it up evenly..
The bill is over a 61 day period and the total amount is $343.31
There are six flat occupants.
Occupants A and B were there for 27 days out of the 61.
Occupant C was there for 47 days.
Occupant D was there for 13 days.
Occupant E was there for 45 days.
Occupant F was there for 44 days.
An answer would be awesome but an answer with working would be amazing!
Thanks heaps in advance!
Basically, you want numbers $a,b,c,d,e,f$ such that:
The second equation tells you a lot about the numbers. Basically, it's equivalent to saying that there exists some number $x$ such that:
$$a=27x\\b=27x\\c=47x\\d=13x\\e=45x\\f=44x$$
Plugging this into the first point (with the sum) you get that
$$27x+27x+47x+13x+45x+44x=343.31$$
which means that $203x=343.31$ or $x=\frac{343.31}{203}$. You can now plug in $x$ to see what $a,b,c,d,e,f$ are.