Skip to main content
8-Gravel
September 18, 2024
Solved

Vectorization

Hi all, does anyone knows why there's 'i' in the results of the last equation?

NA_11204287_0-1726664487770.png

Regards,

Werner_E
Werner_EAnswer
25-Diamond I
September 18, 2024

i is the imaginary unit (i^2 = -1).

You are getting non-real results because you take the square root of negative numbers.

Maybe you should use the absolute value on f.bu.Top ?

 

P.S.: 'Problem' has nothing to do with vectorization, but if you will use the absolute value, you must use vectorization as otherwise you will get the length of the vector and not the absolute value of each of its elements.

Werner_E_1-1726666147260.png

 

 

2 replies

Werner_E
Werner_E25-Diamond IAnswer
25-Diamond I
September 18, 2024

i is the imaginary unit (i^2 = -1).

You are getting non-real results because you take the square root of negative numbers.

Maybe you should use the absolute value on f.bu.Top ?

 

P.S.: 'Problem' has nothing to do with vectorization, but if you will use the absolute value, you must use vectorization as otherwise you will get the length of the vector and not the absolute value of each of its elements.

Werner_E_1-1726666147260.png

 

 

Translate
8-Gravel
September 18, 2024

now i understand why. Thank you so much!!!

Translate