04-21-2025 04:26 PM
why sin off pi is equal a 1.22465 when is 0 the same ocurr with pi x2 6,283 is equal a 2,44 when is 0
i use sin example to control it
04-21-2025 04:40 PM
It sounds like the classic DEG/RAD issue, Maybe post your code to elaborate on this issue.
04-21-2025 05:00 PM
This is a display format issue. You're looking at the number in scientific notation. Right click the indicator -> Display Format and change to floating point.
04-21-2025 07:27 PM
thanks you
04-22-2025 12:07 AM
the precision of floating point numbers are limited. Pi and 2pi cannot be represented exactly as a floating point number, so sin(pi) and sin(2pi) can't be zero.
sin (pi) is something like sin(3,14159265358979311) and that's not zero.