2021-08-24 11:28:01 +00:00
|
|
|
# Testing sin() cos() tan() asin() acos() atan() rad() deg() pi().
|
|
|
|
|
|
|
|
load 5m
|
|
|
|
trig{l="x"} 10
|
|
|
|
trig{l="y"} 20
|
|
|
|
trig{l="NaN"} NaN
|
|
|
|
|
|
|
|
eval instant at 5m sin(trig)
|
|
|
|
{l="x"} -0.5440211108893699
|
|
|
|
{l="y"} 0.9129452507276277
|
|
|
|
{l="NaN"} NaN
|
|
|
|
|
|
|
|
eval instant at 5m cos(trig)
|
|
|
|
{l="x"} -0.8390715290764524
|
|
|
|
{l="y"} 0.40808206181339196
|
|
|
|
{l="NaN"} NaN
|
|
|
|
|
|
|
|
eval instant at 5m tan(trig)
|
|
|
|
{l="x"} 0.6483608274590867
|
|
|
|
{l="y"} 2.2371609442247427
|
|
|
|
{l="NaN"} NaN
|
|
|
|
|
|
|
|
eval instant at 5m asin(trig - 10.1)
|
2021-08-24 14:25:29 +00:00
|
|
|
{l="x"} -0.10016742116155944
|
|
|
|
{l="y"} NaN
|
2021-08-24 11:28:01 +00:00
|
|
|
{l="NaN"} NaN
|
|
|
|
|
|
|
|
eval instant at 5m acos(trig - 10.1)
|
2021-08-24 14:25:29 +00:00
|
|
|
{l="x"} 1.670963747956456
|
|
|
|
{l="y"} NaN
|
2021-08-24 11:28:01 +00:00
|
|
|
{l="NaN"} NaN
|
|
|
|
|
|
|
|
eval instant at 5m atan(trig)
|
2021-08-24 14:25:29 +00:00
|
|
|
{l="x"} 1.4711276743037345
|
|
|
|
{l="y"} 1.5208379310729538
|
2021-08-24 11:28:01 +00:00
|
|
|
{l="NaN"} NaN
|
|
|
|
|
|
|
|
eval instant at 5m rad(trig)
|
2021-08-24 14:25:29 +00:00
|
|
|
{l="x"} 0.17453292519943295
|
|
|
|
{l="y"} 0.3490658503988659
|
2021-08-24 11:28:01 +00:00
|
|
|
{l="NaN"} NaN
|
|
|
|
|
|
|
|
eval instant at 5m rad(trig - 10)
|
2021-08-24 14:25:29 +00:00
|
|
|
{l="x"} 0
|
|
|
|
{l="y"} 0.17453292519943295
|
2021-08-24 11:28:01 +00:00
|
|
|
{l="NaN"} NaN
|
|
|
|
|
|
|
|
eval instant at 5m rad(trig - 20)
|
2021-08-24 14:25:29 +00:00
|
|
|
{l="x"} -0.17453292519943295
|
|
|
|
{l="y"} 0
|
2021-08-24 11:28:01 +00:00
|
|
|
{l="NaN"} NaN
|
|
|
|
|
|
|
|
eval instant at 5m deg(trig)
|
2021-08-24 14:25:29 +00:00
|
|
|
{l="x"} 572.9577951308232
|
|
|
|
{l="y"} 1145.9155902616465
|
2021-08-24 11:28:01 +00:00
|
|
|
{l="NaN"} NaN
|
|
|
|
|
|
|
|
eval instant at 5m deg(trig - 10)
|
2021-08-24 14:25:29 +00:00
|
|
|
{l="x"} 0
|
|
|
|
{l="y"} 572.9577951308232
|
2021-08-24 11:28:01 +00:00
|
|
|
{l="NaN"} NaN
|
|
|
|
|
|
|
|
eval instant at 5m deg(trig - 20)
|
2021-08-24 14:25:29 +00:00
|
|
|
{l="x"} -572.9577951308232
|
|
|
|
{l="y"} 0
|
2021-08-24 11:28:01 +00:00
|
|
|
{l="NaN"} NaN
|
|
|
|
|
|
|
|
clear
|
|
|
|
|
|
|
|
eval instant at 0s pi()
|
|
|
|
{} 3.141592653589793
|