Skip to content

Instantly share code, notes, and snippets.

@korczis
Last active August 29, 2015 14:04
Show Gist options
  • Save korczis/9975f1274d631fa97eae to your computer and use it in GitHub Desktop.
Save korczis/9975f1274d631fa97eae to your computer and use it in GitHub Desktop.
-- Based on calculation from http://cs.wikipedia.org/wiki/Vrh_vodorovn%C3%BD
-- TODO: improve http://www.brunel.ac.uk/~spstnpl/BiomechanicsAthletics/StandingLongJump.htm
let delkaSkoku vyska rychlost = rychlost * (sqrt ((2 * vyska) / 9.81))
-- Based on expectations - http://en.wikipedia.org/wiki/Footspeed
-- The fastest human footspeed on record is 44.72 km/h (12.42m/s, 27.79 mph), seen during a 100 meters sprint (average speed between the 60th and the 80th meter) by Usain Bolt. Maximum human sprint speed is strikingly slower than that of many animals.
*Main> delkaSkoku 15 6
10.492461251740034
*Main>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment