👤

daca x+y=10 si y+z=13,sa se calculeze cat este a=8x+11y+3z.

Răspuns :

x + y = 10
y + z = 13
a = 8x + 11y + 3z
----------------------
x = ?
y = ?
z = ?
-------------------
x = 0 => y = 10
dacă y = 10 => z = 3
a = 110 + 9 = 119 (1)

x = 1 => y = 9
dacă y = 9 => z = 4
a = 8 + 99 +  12 = 119 (2)
-------------------------
Din (1) si (2) => a va fi mereu 119 pt:
x = 0, y = 10, z = 3
x = 1, y = 9, z = 4
x = 2, y = 8, z = 5
x = 3, y = 7, z = 6
x = 4, y = 6, z = 7
x = 5, y = 5, z = 8 (punctul unde x = y)
x = 6, y = 4, z = 9
x = 7, y = 3, z = 10
x = 8, y = 2, z = 11
x = 9, y = 1, z = 12
x = 10, y = 0, z = 13
sau mai pe scurt zis:
x = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
y = {10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0}
z = {3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}
a=8x+11y+3z=
=8x+8y+3y+3z=
=8(x+y)+3(y+z)=
=8*10+3*13=
=80+39=119