Last active
December 18, 2015 23:19
-
-
Save martintrojer/5861174 to your computer and use it in GitHub Desktop.
E=mc^2
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
// If you took the matter in a teaspoon of water, and converted that to energy, | |
// how many gallons of gasoline would you have to burn to get an equal amount of energy? | |
scala> 'teaspoon * 'water * ('c ** 2) to 'gallons * 'gasoline | |
res0: frins.NumberT = 3164209.862836101 [dimensionless] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment