👤

Pe ses pasc oi si giste.In total sint 98 de capete si 252 de picioare.Cite giste si cite oi sint?


Răspuns :

Notam cu x numarul de oi si y numaul de gaste.

x + y = 98
4x + 2y = 252 (oile au 4 picioare, gastele doar 2!)

x = 98 - y
4(98 - y) + 2y = 252
392 - 4y + 2y = 252
392 - 2y = 252
2y = 392 - 252 = 140
y = 140:2 = 70 de gaste
x = 98 - y = 98 - 70 = 28 de oi




252:4=63 de oi sunt
98 gaste 
63+98=161
sper ca este bine