5 ms·
Unit Definitions
- Sniffnoy 11y agoThis looks like an older version of the file. I don't know where to find an easily-linkable online copy of the current one, but it's the "definitions.units" file included in GNU Units.
- dsp1234 11y agohttp://fossies.org/linux/units/definitions.units http://fossies.org/linux/units/definitions.units home page at https://www.gnu.org/software/units/ https://www.gnu.org/software/units/ full source code at http://ftp.gnu.org/gnu/units/ http://ftp.gnu.org/gnu/units/
- phaer 11y agoLatest release: http://ftp.gnu.org/gnu/units/units-2.12.tar.gz http://ftp.gnu.org/gnu/units/units-2.12.tar.gz Link for the lazy: https://gist.github.com/phaer/44bd758154fca29d6b38 https://gist.github.com/phaer/44bd758154fca29d6b38
- maxerickson 11y agoIt overlaps with it a great deal, but it is not simply that file. Quoting: This file is adapted, modified, and extended from the units database for use with GNU units, a units conversion program by Adrian Mariano adrian@cam.cornell.edu, who did a damn fine job collecting much of this.
- btilly 11y agoThe most important modification being the editorializing, which is most of the value to be found in reading this version. :-)
- Sniffnoy 11y agoAh, I see. Yes, I'd missed the editorializing -- which I do think is worth reading (especially about the candela), now that it's been pointed out (though I do think he's wrong about bits and Hertz). For what it's worth, though, it appears to be modified from an older version of the file; some of the editorializing would be out of date if it used an up-to-date version.
- gaur 11y ago> This means that, if you follow the rules of the SI, 1 Hz = 1/s = 1 radian/s I fail to see how this follows from the SI definition of either the hertz or the radian.
- leni536 11y agoI always frowned upon the unit "radian". Radian is defined in terms of the ratio of two quantities both having length dimensions. So by this definition angle should be dimensionless. I really don't get radian.
- JadeNB 11y agoAngle, like any other quantity that is fed to a pure mathematical function (like the sine or cosine function), must be dimensionless [0]; and indeed it is. 'Degree' (as in 30 degrees) is not really a unit, but the number π/180, representing π units of arc along a circle of radius 180 units. 'Radian' is also not a unit, but rather the number 1, representing 1 unit of arc along a circle of radius 1 unit. EDIT: [0] For example, one way of defining sin(x) is as the sum of the power series `x - x^3/6 + x^5/120 - …`; this cannot be dimensionally consistent unless x is dimensionless. Another is to define y(x) = sin(x) to be the solution of `d^2y/dx^2 = -y` satisfying certain initial conditions; but the units of `y` can only be equal to those of its second derivative if the argument of `y` is dimensionless. EDIT 2: One easy way to fix the potential dimensional inconsistency is to replace `d^2y/dx^2 = -y` by `d^2y/dx^2 = -k^2 y`, where `k` is just a conversion factor for dimensional consistency (so that `[k] = [x]^{-1}`). Then a solution is `y = sin(k x)`; and, once again, the argument of the sine function is dimensionless.
- cyphar 11y agoI've always ribbed against my physics professors using the notation of rad/s. To be fair, they'd make it clear that the reason they used it was to remind the students that the quantities were angular (ie \omega not velocity).
- jason_s 11y ago
- phasmantistes 11y agoIn regards to the difference between American and European billion/trillion/etc: // These number terms were described by N. Chuquet and De la Roche in the 16th // century as being successive powers of a million. These definitions are // still used in most European countries. The current US definitions for these // numbers arose in the 17th century and don't make nearly as much sense. Huh? Admittedly I'm biased, being American, but how do the American definitions not make nearly as much sense? By the time "billion" was defined by Chuquet and De la Roche, the concepts of "ten thousand" and "hundred thousand" were in widespread use. Those were followed by "million". So there's already a precedent for "we multiply things by a hundred before coming up with a new name". How does it make sense to change that to "but after a point, we multiply things by a thousand before coming up with a new name"? I could see a couple systems that would arguably make more sense: * ten, hundred, thousand, million, billion, trillion... (no multipliers) * ten, hundred, ten hundred, thousand, ten thousand, hundred thousand, million, ten million, hundred million, thousand million, billion..., million billion, trillion... (use all previous multipliers before creating the next new name) Admittedly, the US uses neither of those systems. But sticking with the precedent of "a hundred is the highest multiplier" makes sense.
- andrewla 11y agoI think the "making sense" refers to the fact that "billion" has "bi-" as a prefix, and "trillion" has "tri-" as a prefix. In American English, it's not clear what is "bi-", exactly, about a billion -- two of what? If we had skipped "billion" and gone with "trillion" = 1e9, then it would be more natural, because then it would refer to the number of thousands; but then the more natural nomenclature would be "bi-sands" and "tri-sands" or something.
- phasmantistes 11y agoAha, that actually makes a lot of sense. I was only thinking about which numbers should have unique names, not whether the names we've given them make sense for their positions. Thanks!
- deleted 11y ago[deleted]
- stygiansonic 11y agoJust in case anyone is confused by this: (maybe it's just me?) // Alan's notes: // I'd like to put a mu in here for micro. // Should we adopt the questionable Electrical Engineer policy of using // "u" to indicate micro? I've added "uF" for microfarad later on to // tackle the most common case. This is referring to using the practice of using the character "u" instead of "µ" as the SI prefix for micro-, presumably because it's easier to type 'u' or because a lot of stuff is still stored in ASCII. Notably, this appears to be the only SI prefix that uses a non-Latin character, thus the inherent problems when used in documents/systems that only support the Latin alphabet or otherwise make it difficult to use non-Latin characters. Disclosure: Graduate of EE. Didn't know we were causing so many issues all this time with our rebellious use of microfarads :)
- gaur 11y agoSpeaking of questionable EE conventions, why do electrical engineers seem to never use nanofarads? 10 nF capacitors are usually labeled as 10,000 pF or 0.01 µF, for seemingly no good reason. Also, the ohm symbol is frequently omitted from resistance specifications. 10 kΩ is written as 10 k (or worse, 10k).
- monkey 11y agoOther EE annoyances: capacitors are often marked with their capacitance as, say, "100 MFD". No, it's not megafarad, it's not millifarad; it actually means microfarad! That's annoying in several ways, including really abusing the SI prefixes (milli is "m" and mega is "M") and because the symbol for farad is simply "F", not "FD".
- ycthrowaway2 11y agoIs this accessible in javascript?
- chillingeffect 11y agoI made a small collection of unit libraries across languages. You can find it here: http://www.diydsp.com/index.php?title=Physical_Unit_Conversion http://www.diydsp.com/index.php?title=Physical_Unit_Conversi...