Published May 20, 2023 | Version v1
Working paper Open

PYTHON CODES for PUSH GRAVITY

  • 1. ESEM Research Laboratory

Description

The python codes in the file provided (for Python 3.7.4) were developed for the needs of the work entitled “Novel quantitative push gravity/electricity theory poised for verification” during the year 2020 followed by later versions to date. During that time, we used ad hoc symbols. To facilitate the publication of the codes, it was necessary to re-write the symbols to match those used in the text of the published theory, although this may not be possible everywhere. Specifically, the codes correspond to the equations in the Appendices for the calculation of mass and force of two spherical bodies versus distance according to the theory. There are two equivalent methods for the computation, namely, the “bulk” method and the “surface” method. The bulk method was initially used for the computation of a few only cases, because the very long computation time made it impractical for extended work. The surface method was later found to be by far the fastest and was eventually used for the computation of the many cases presented, and much more. It was the surface method that allowed accumulation of sufficient “points” to construct the presented curves. It is important to note that both methods yield identical numerical outputs within the precision used. The latter achievement consolidated our confidence that the codes are error free and consistent with the theory.  However, the user who will attempt to run the same code must be aware that if some minor error appears, it must be due to an incorrect edit from the original code to the published one. It is hoped that the expert Python worker should be able to rectify such potential errors without much effort. On our part, we had rerun the “published” version here back in the year 2020 but perhaps not all of them at that time, whilst no further time has been devoted for this purpose. 

Notes

For any inquiries, please email the author.

Files

Files (58.5 kB)

Name Size Download all
md5:4956fc74330e61f949bb1b02121fe963
58.5 kB Download