Knowing the components of vector = (v1, v2), we can calculate easily his module ||: . To calculate his argument , we take in account that tan = and by the moment we can write = Arctan.
Now the Arctan(x) function, that in the calculators correspond to the button tan -1 generally, return an angle comprised between -90 º and 90 that it has by tangent x. Then, if the vector is in the 2nd or 3rd quadrant we must effect a correction to Arctan value consistent in adding 180 º.
Summarizing, the argument of a vector = (v1, v2) it calculates:
If= (v1 , v2) is in the 4rth quadrant, the calculation of Arctan gives negative; we can become it in positive adding 360 º.
|
|