87 lines
1.1 KiB
PHP
87 lines
1.1 KiB
PHP
|
<?php
|
||
|
|
||
|
// x_num, y_num, Result
|
||
|
|
||
|
return [
|
||
|
[
|
||
|
0,
|
||
|
0,
|
||
|
'#DIV/0!',
|
||
|
],
|
||
|
[
|
||
|
1,
|
||
|
1,
|
||
|
0.78539816339699997,
|
||
|
],
|
||
|
[
|
||
|
-1,
|
||
|
-1,
|
||
|
-2.3561944901919998,
|
||
|
],
|
||
|
[
|
||
|
-1,
|
||
|
1,
|
||
|
2.3561944901919998,
|
||
|
],
|
||
|
[
|
||
|
1,
|
||
|
-1,
|
||
|
-0.78539816339699997,
|
||
|
],
|
||
|
[
|
||
|
0.5,
|
||
|
1,
|
||
|
1.107148717794,
|
||
|
],
|
||
|
[
|
||
|
-0.5,
|
||
|
2,
|
||
|
1.8157749899219999,
|
||
|
],
|
||
|
[
|
||
|
1,
|
||
|
0.80000000000000004,
|
||
|
0.67474094222400005,
|
||
|
],
|
||
|
[
|
||
|
0.80000000000000004,
|
||
|
-0.59999999999999998,
|
||
|
-0.64350110879300004,
|
||
|
],
|
||
|
[
|
||
|
1,
|
||
|
-9,
|
||
|
-1.460139105621,
|
||
|
],
|
||
|
[
|
||
|
0.20000000000000001,
|
||
|
0,
|
||
|
0.0,
|
||
|
],
|
||
|
[
|
||
|
0.10000000000000001,
|
||
|
0.20000000000000001,
|
||
|
1.107148717794,
|
||
|
],
|
||
|
[
|
||
|
0,
|
||
|
0.20000000000000001,
|
||
|
1.570796326795,
|
||
|
],
|
||
|
[
|
||
|
'A',
|
||
|
0.20000000000000001,
|
||
|
'#VALUE!',
|
||
|
],
|
||
|
[
|
||
|
true,
|
||
|
1,
|
||
|
0.78539816339699997,
|
||
|
],
|
||
|
[
|
||
|
false,
|
||
|
-2.5,
|
||
|
-1.570796326795,
|
||
|
],
|
||
|
];
|