Adaptation to improved accuracy
This commit is contained in:
parent
0989a72c2b
commit
4707df1ee3
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue