Published November 17, 2026 | Version v1.2

Exact Arc-Length Reduction for Projectile Motion under Quadratic Drag and a Vertical-Axis Magnus Force, with a Non-Existence Result for the Symmetric Two-Ball Rendezvous

Authors/Creators

Description

This archive holds the source code, the regression test suite, the figure scripts and the numerical results behind the paper "Exact turning invariants for projectile motion under quadratic drag and a vertical-axis Magnus force".

A ball spinning about a vertical axis is pushed sideways by the Magnus force, so its ground track curves. The paper shows that when the lift and drag coefficients are constant, the horizontal part of the problem is exactly solvable in elementary functions. Writing the horizontal velocity as a complex number and using path length rather than time as the independent variable leaves a linear equation with constant coefficients in which gravity does not appear. Three exact invariants follow, and the full flight problem collapses to one scalar differential equation in two dimensionless numbers.

The code integrates the eleven-component state with scipy solve_ivp at rtol 1e-10 with event detection, and a batched fixed-step RK4 handles the parameter sweeps. Every analytic claim in the paper is encoded as a regression test. The invariants are checked to fifteen decimal places. Running run_all.py reproduces results.json and every figure, and pytest tests runs 142 tests.

Version v1.2 adds make_paper_figures.py, which draws every figure of the revised manuscript and prints each number the manuscript quotes, and a test file that checks the turning law when the lift coefficient depends on spin and when the drag coefficient has a drag crisis. The tennis ball drag coefficient is now 0.51, the value measured by Cross and Lindsey (2014). The paper is available as arXiv:2609.30305.

Development happens at https://github.com/pragyaangaur/Magnus-Turning-Invariants.

Files

magnus-turning-invariants-code-v1.2.zip

Files (571.6 kB)

Name Size
md5:edbd7c3c40cd00f1625309da95b78393
571.6 kB Preview Download

Additional details

Related works

Is identical to
Software: https://github.com/pragyaangaur/Magnus-Turning-Invariants/tree/v1.2 (URL)
Is supplement to
Preprint: 10.5281/zenodo.22852340 (DOI)
Preprint: arXiv:2609.30305 (arXiv)
Is supplemented by
Software: https://github.com/pragyaangaur/Magnus-Turning-Invariants (URL)

Software

Repository URL
https://github.com/pragyaangaur/Magnus-Turning-Invariants
Programming language
Python
Development Status
Active