👤

Intr un bloc sunt apartamente cu 2, respectiv 3 camere. In total 18 apartamente si 39 de camere.
Aflati cate apartamente sunt cu 2 si 3 camere.


Răspuns :

not. cu x - nr . apartamentelor cu 2 camere

not. cu y - nr. apartamentelor cu 3 camere

x+y=18 => x=18-y

2x+3y=39

inlocuim : 2(18-y)+3y=39 => 36 -2y +3y=39 /-36

=>y=3 (3 apartamente cu 3 camere)

=> x+3=18 => x=18-3=16