Created
March 7, 2017 22:38
-
-
Save tomr-stargazer/dc69e419c732687ac39f207c6bc9d9d6 to your computer and use it in GitHub Desktop.
Thickness of 6x8 AU poster with volume of Earth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [2]: import astropy.units as u | |
In [3]: import astropy.constants as c | |
In [4]: volume = 4/3. * np.pi*c.R_earth**3 | |
In [5]: length = 6 * u.AU | |
In [6]: width = 8 * u.AU | |
In [7]: thickness = volume/(length*width) | |
In [10]: thickness.to(u.mm) | |
Out[10]: <Quantity 1.011760858441613 mm> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment