Front offices and fans alike might be interested in the flight of a home run with different physical and atmospheric conditions. Pick any home run from the 2015 season and change the context - increase the atmospheric pressure, increase the temperature, and reduce gravitational acceleration.

The program accounts for these factors by numerically solving an ordinary differential equation that factors in the effect of air damping.

For fun, it's possible to find the distance a home run would travel not only in Major League cities, but also on other planets. Did you know Pedro Alvarez's 460-foot shot on 10/4/2015 against the Reds would have traveled 717 feet on Mars?

Built With

Share this project: