and this being the error
Traceback (most recent call last):
File "/user_code/.local/lib/python3.12/site-packages/numpy/testing/_private/utils.py", line 1679, in assert_allclose
assert_array_compare(compare, actual, desired, err_msg=str(err_msg),
File "/user_code/.local/lib/python3.12/site-packages/numpy/testing/_private/utils.py", line 885, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-07, atol=1e-05
De waarden van x_num kloppen nog niet
Mismatched elements: 100 / 101 (99%)
Max absolute difference among violations: 29.96834437
Max relative difference among violations: 0.0353268
ACTUAL: array([ 0. , -8.331833, -16.660667, -24.9865 , -33.309333,
-41.629167, -49.946 , -58.259833, -66.570667, -74.8785 ,
-83.183333, -91.485167, -99.784 , -108.079833, -116.372667,...
DESIRED: array([ 0. , -8.334833, -16.672667, -25.0135 , -33.357333,
-41.704167, -50.054 , -58.406833, -66.762667, -75.1215 ,
-83.483333, -91.848167, -100.216 , -108.586833, -116.960666,...
Traceback (most recent call last):
File "/user_code/.local/lib/python3.12/site-packages/numpy/testing/_private/utils.py", line 1679, in assert_allclose
assert_array_compare(compare, actual, desired, err_msg=str(err_msg),
File "/user_code/.local/lib/python3.12/site-packages/numpy/testing/_private/utils.py", line 885, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-07, atol=1e-05
De waarden van vx_num kloppen nog niet
Mismatched elements: 100 / 101 (99%)
Max absolute difference among violations: 5.9810651
Max relative difference among violations: 0.06928634
ACTUAL: array([-83.333333, -83.303333, -83.273333, -83.243333, -83.213333,
-83.183333, -83.153333, -83.123333, -83.093333, -83.063333,
-83.033333, -83.003333, -82.973334, -82.943334, -82.913334,...
DESIRED: array([-83.333333, -83.363333, -83.393333, -83.423333, -83.453333,
-83.483333, -83.513333, -83.543333, -83.573333, -83.603333,
-83.633333, -83.663333, -83.693333, -83.723333, -83.753333,...