pbuk said:
I'm not. Jorrie's calculation uses a fixed step size, the integration steps don't match the result steps excactly, it doesn't treat the integration to infinity properly and it only manages to get as close as it does by using far more integration steps than it needs to - in short it needs rewriting.
I have been calculating D
now using various calculators. The results are often slightly different from one another. The results calculated with
cosmic and
Toth calculators are added to the table shown in Post #57. They are consistent with that calculated by
@Ibix but with more digits kept:
z | Gnedin | Jorrie, 2022 | ibix | cosmic | Toth |
| 0.1 | 1.41004 | 1.4084 | 1.41 | 1.409592 | 1.409608 |
| 0.09 | 1.27214 | 1.270609 | 1.27 | 1.27174 | 1.271756 |
| 0.08 | 1.13354 | 1.132106 | 1.13 | 1.133189 | 1.133219 |
| 0.07 | 0.99426 | 0.992931 | 0.994 | 0.993944 | 0.993964 |
| 0.06 | 0.85427 | 0.85305 | 0.854 | 0.854005 | 0.854024 |
| 0.05 | 0.7136 | 0.712477 | 0.713 | 0.713377 | 0.713399 |
| 0.04 | 0.57225 | 0.571225 | 0.572 | 0.572063 | 0.57209 |
| 0.03 | 0.43023 | 0.429278 | 0.43 | 0.430065 | 0.430062 |
| 0.02 | 0.28748 | 0.286651 | 0.287 | 0.287385 | 0.287382 |
| 0.01 | 0.14408 | 0.14336 | 0.144 | 0.144029 | 0.144017 |
| 0 | 0 | 0.000621 | 0 | 0 | 0 |
| -0.01 | 0.14474 | 0.14526 | 0.145 | 0.144698 | 0.144702 |
| -0.02 | 0.29015 | 0.290567 | 0.29 | 0.290061 | 0.290057 |
| -0.03 | 0.43623 | 0.436536 | 0.436 | 0.436084 | 0.436097 |
| -0.04 | 0.58295 | 0.583161 | 0.583 | 0.582763 | 0.582789 |
| -0.05 | 0.73032 | 0.730433 | 0.73 | 0.730094 | 0.730101 |
| -0.06 | 0.87834 | 0.878358 | 0.878 | 0.878072 | 0.878098 |
| -0.07 | 1.02699 | 1.026926 | 1.03 | 1.026688 | 1.026715 |
| -0.08 | 1.17631 | 1.176124 | 1.18 | 1.175941 | 1.175951 |
| -0.09 | 1.32623 | 1.325968 | 1.33 | 1.325824 | 1.32584 |
| -0.1 | 1.47679 | 1.476416 | 1.48 | 1.476332 | 1.476349 |
For the discussions blow, let’s assume that the
cosmic result is correct and use it as a reference for comparison.
For two properly working calculators, the difference in their calculated D
now’s as a function of z should be a slightly fluctuating plot around the y = 0 line, as exemplified by the D
cosmic - D
Toth plot shown in the following figure:
The D
cosmic - D
Jorrie plot, however, shows a peculiar behavior: there is an abrupt break around z = 0 and D
Jorrie(z) deviates systematically from D
cosmic(z). It will be nice if we can get a clue of why this is happening. If you or
@Jorrie have some ideas about the location(s) in the
Calculation.js file that is responsible for this behavior, please let us know.