Numbat
Numbat is a statically typed programming language for scientific computations with first class support for physical dimensions and units.
You can use it for simple mathematical computations:
The real strength of Numbat, however, is to perform calculations with physical units:
>>> 8 km / (1 h + 25 min)
= 5.64706 km/h [Velocity]
>>> 140 € -> GBP
= 120.768 £ [Money]
>>> atan2(30 cm, 1 m) -> deg
= 16.6992°
>>> let ω = 2π c / 660 nm
>>> ℏ ω -> eV
= 1.87855 eV [Energy]
Read the tutorial to learn more about the language or look at some example programs. You can also jump directly to the syntax reference. You can install Numbat by following the instructions in this guide.
Quote
"You see, Vergon 6 was once filled with the super-dense substance known as dark matter, each pound of which weighs over 10,000 pounds." — Futurama, S1E4