👤

intr-un bloc sunt apartamente cu 2 si 3 camere, in total fiind 41 camere si 17 apartamente. Cate apartamente sunt cu 2 camere, cate cu 3 camere ???

Răspuns :

notam nr apartamentelor cu 2 camere prin x  si nr apartamentelor cu 3 camere prin y
alcatuim ecuatiile:
1)2x+3y=41
2)x+y=17/*2   si obtinem 2x+2y=34  egalam ecuatiile si obtinem 41-3y=34-2y    41-34= -2y+3y     7=y   deci sunt  7 apartamente cu 3 camere   inlocuim in  relatia 1) y=7   2x+21=41 2x=20  x=10 deci sunt 10 apartamente cu 2 camere