Question: How to store a real positive value in the vector in case a equation is generating multiple value.

Hello

for Example

A is vector A[r[= x+y , this is the equation generating multiple values. some are real and some are imaginery like,20,133, 2+3i,3+3i. I am interested the value which ilies within certain limits like 10-30. Here in this example 20 fits. So A[r] vector should store 20 only. How to do it.

 

Please help me on that. 

Thanks 

Please Wait...