LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tangent of arcTangent

Solved!
Go to solution

i try to test the tangent of arctangent of x normally its aqual to x but when i run i found another value so why ?

and why the tan(arcTang(x)) not equal to x ?

 

Capture.PNGCapture2.PNG

0 Kudos
Message 1 of 12
(4,107 Views)
Think DATAflow: Your VI calculates the arctangent of the tangent of x.
Kudos are welcome...
0 Kudos
Message 2 of 12
(4,098 Views)
Solution
Accepted by topic author zaki_Khan

conversion.png

0 Kudos
Message 3 of 12
(4,084 Views)
Same here, at least halt of it, the upper part is the arctan(tan(x)) and hence another calculation than the formula node.
Kudos are welcome...
0 Kudos
Message 4 of 12
(4,069 Views)

@JensG69 wrote:
Think DATAflow: Your VI calculates the arctangent of the tangent of x.

1.PNG

 

@JensG69 wrote:
Same here, at least halt of it, the upper part is the arctan(tan(x)) and hence another calculation than the formula node.

sorry for being a troll...

 

0.PNG

0 Kudos
Message 5 of 12
(4,048 Views)

I'm sorry for my previous reply, I mis-read the question of the OP.

 

@zaki_Khan: tan(arctan(x)) = x is only valid for x-values (in rad) between -Pi/2 .. Pi/2 (or -90° .. 90° in degree).

 

grafik.png

 

Regards

Kudos are welcome...
0 Kudos
Message 6 of 12
(4,025 Views)

All trigonometric functions are periodic. This means for every Y, there is an infinite number of valid X values. The inverse function will give you an X that is normalized into a defined range. Check the help what the normalized range is (e.g. 0..180, -90..90, etc. or the equivalent in radians).

 

 

0 Kudos
Message 7 of 12
(4,014 Views)

Also don't forget the Two input inverse tangent function Very useful because it maps into all four quadrants.

0 Kudos
Message 8 of 12
(4,010 Views)

thank you

0 Kudos
Message 9 of 12
(3,946 Views)

thanks ,

0 Kudos
Message 10 of 12
(3,945 Views)