👤

Intr-un bloc sunt x apartamente cu 3 camere si y apartamente cu 4 camere, in total 96 de camere. Daca ar fi y apartamente cu 3 camere si x apartamente cu 4 camere, in
bloc ar fi 93 camere. Determinati valorile nr. x si y.


Răspuns :


x*3+y*4=96

y*3+x*4=93

x=(96-4y)/3

3y+(96-4y)4/3=93

9y+96*4-16y=93*3

-7y=279-384

y=105/7=15

x=(96-15*4):3=(96-60):3=12

3x+4y=96
3y+4x=93
----------------------
7x+7y=189
7(x+y)=189
x+y=27
x=27-y
3(27-y) +4y=96
81-3y+4y=96
y=15
deci x=27-15=12