Adaptation to improved accuracy

This commit is contained in:
Jaap van Ekris 2024-01-09 21:45:04 +01:00 committed by GitHub
parent 0989a72c2b
commit 4707df1ee3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -201,7 +201,7 @@ test('Quadratic Approximation on function y = 4 * Math.pow(x, 2) + 4 * x + 4, wi
dataSeries.push(-5, 83)
testCoefficientA(dataSeries, 3.8666666666666667)
testCoefficientB(dataSeries, 1.8666666666666742)
testCoefficientC(dataSeries, -4.111111111111047)
testCoefficientC(dataSeries, -4.3333333333332575)
dataSeries.push(-4, 53)
testCoefficientA(dataSeries, 4)
testCoefficientB(dataSeries, 4)
@ -289,7 +289,7 @@ test('Quadratic Approximation on function y = 4 * Math.pow(x, 2) + 4 * x + 4, wi
dataSeries.push(-1, 3)
testCoefficientA(dataSeries, 3.9555555555555557)
testCoefficientB(dataSeries, 3.37777777777778)
testCoefficientC(dataSeries, 2.2000000000000064)
testCoefficientC(dataSeries, 2.8666666666666742)
dataSeries.push(0, 5)
testCoefficientA(dataSeries, 4)
testCoefficientB(dataSeries, 4)