3 ms·
There is! The API is nowhere near complete, but Noether[0] can handle the following well: >>> display(lightsecond) >>> v = c / 3 >>> h / electron.m
by yunruse 7y ago
There is! The API is nowhere near complete, but Noether[0] can handle the following well:
>>> display(lightsecond)
>>> v = c / 3
>>> h / electron.mass / v
(3.019×10⁻²⁰ ± 2.277×10⁻²⁸)ls <length, distance>
>>> potrzebie / bushel
62.23m⁻² <vehicle efficiency>
>>> print(f"The speed of light is about {c:.5e}")
The speed of light is about c = 2.99792e+08m·s⁻¹
>>> momentum
mass * length / time
>>> print(flow)
L³·T⁻¹
There's no explicit support for probability, but you can roll your own quick with some support
>>> prob = Dimension.new(3.4, "probability", "P", "chance")
>>> chance = Unit(prob)
>>> percent = Unit(chance / 100, "%")
>>> display(percent)
>>> chance / 3
33.33%
[0]: https://github.com/yunruse/noether https://github.com/yunruse/noether