A+b+c=200 lei
(1/2)a=(1/3)b
(1/2a)=(1/5)c
unde a=mihai, b= mihaela, c= costin
din primele rezulta si ca (1/3)b= (1/5)c
dar,mihai adica a-> a/2=p =>a=2p
daca a=2p =>(1/2)*2p=(1/3)b=>
p=(1/3)*b =>b=3p
si (1/2)*2p=(1/5)c =>p=(1/5)c =>
c=5p
Prin urmare:
2p+3p+5p=200 => p=20 =>
a=40
b=60
c=100,
mihai are 40 lei, mihaela are 60 lei, costin are 100 lei