Exercise 5- Programming Assignment Question

I noticed than when trying to find out the value for variable x_1 in the below case

  • x_1 = Constant - A_ref[i,j] * x_3 + A_ref[i, j] *x_2

The result of my addition operation (x_2) is considered a negative number which is added to x_3.

Can someone explain me why is this behavior taking place within the NumPy package?

Thanks!

Hi @sheikita, sorry for the late response.

I couldn’t understand your query. Could you ellaborate it, please?

Thanks
Lucas