Skip to content

Instantly share code, notes, and snippets.

@tiensonqin
Created February 10, 2014 03:14
Show Gist options
  • Save tiensonqin/8909774 to your computer and use it in GitHub Desktop.
Save tiensonqin/8909774 to your computer and use it in GitHub Desktop.
FallVelocity = fun(Distance) ->
math:sqrt(2 * 9.8 * distance)
end.
(defn fall-velocity
[distance]
(sqrt (* 2 9.8 distance))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment