Răspuns:
a) NU, b) 42
Explicație pas cu pas:
notăm cu x numărul apartamentelor cu 2 camere, cu y numărul apartamentelor cu 3 camere și cu z numărul apartamentelor cu 4 camere
x + y + z = 60
2x + 3y + 4z = 149
x = 6y
a) NU, deoarece 35 nu este divizibil cu 6 (nu se poate determina numărul apartamentelor cu 3 camere)
b)
[tex]\begin{cases} 6y + y + z = 60\\ 2 \cdot 6y + 3y + 4z = 149\end{cases} \iff \begin{cases} 7y + z = 60 \: | \cdot ( - 4) \\ 15y + 4z = 149\end{cases}[/tex]
[tex]\begin{cases} -28y - 4z = -240\\ 15y + 4z = 149\end{cases}[/tex]
[tex] - 13y = - 91 \implies \bf y = 7[/tex]
=> sunt 7 apartamente cu trei camere
x = 6y => x = 42
=> sunt 42 apartamente cu două camere