Crate constants

Crate constants 

Source
Expand description

constants is a big (and growing) library of mathematical and physical constants. While in no way revolutionary, I hope that I can save you a few keystrokes with this.

§Sources

The source for this data is mainly Wikipedia right now, so expect these to change a little bit. What I mean by this is that I will try to find a more reputable source for each constant, hopefully one that yields higher precision.

Modules§

gravitational_pull
In m/s^2.
length

Constants§

E
Euler’s number (e)
PI
Archimedes’ constant (π)
SPEED_OF_LIGHT
In m/s.
TAU
The full circle constant (τ)

Functions§

feet_to_metres
See metres_to_feet().
metres_to_feet
Convenience function to convert metres to feet.