The roots of the equation x^2+ax=2 are x1 and x2.

=> x1^2 + ax1 = 2 and x2^2 + ax2 = 2

Adding the two x1^2 + x2^2 + a(x1 + x2) = 4

But it is given that x1^2 + x2^2 = 4, this gives a = 0

**The required value of a is 0**

The roots of the equation x^2+ax=2 are x1 and x2.

=> x1^2 + ax1 = 2 and x2^2 + ax2 = 2

Adding the two x1^2 + x2^2 + a(x1 + x2) = 4

But it is given that x1^2 + x2^2 = 4, this gives a = 0

**The required value of a is 0**