- #1
hkBattousai
- 64
- 0
I'm a collage student, I rented an apartment flat with my 2 friends. We bought all house things by each of us paying 1/3 of their price.
An now we are to break apart, I decided to make a drawing (like lottery) to decide who take which house hold.
Assume that,
A, B, C: Names of three people
T: Total cost of all household goods
N: Total number of all all household goods
ai: Cost of element of set of the household goods that A takes as a result of the drawing
bi: Cost of element of set of the household goods that B takes as a result of the drawing
ci: Cost of element of set of the household goods that C takes as a result of the drawing
m: Number of household goods that A takes as a result of the drawing
n: Number of household goods that B takes as a result of the drawing
k: Number of household goods that C takes as a result of the drawing
Can you give me the function f defined as,
f(person1, person2): Amount of money that person1 pays to person2
in terms of the parameters listed above.
An now we are to break apart, I decided to make a drawing (like lottery) to decide who take which house hold.
Assume that,
A, B, C: Names of three people
T: Total cost of all household goods
N: Total number of all all household goods
ai: Cost of element of set of the household goods that A takes as a result of the drawing
bi: Cost of element of set of the household goods that B takes as a result of the drawing
ci: Cost of element of set of the household goods that C takes as a result of the drawing
m: Number of household goods that A takes as a result of the drawing
n: Number of household goods that B takes as a result of the drawing
k: Number of household goods that C takes as a result of the drawing
Can you give me the function f defined as,
f(person1, person2): Amount of money that person1 pays to person2
in terms of the parameters listed above.