Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #12932

Re: Terrible unit trouble in Mathematic 9

From Bill Rowe <readnews@sbcglobal.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Terrible unit trouble in Mathematic 9
Date 2012-12-23 18:14 +0000
Message-ID <kb7hmn$3m9$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


On 12/22/12 at 5:01 AM, murray@math.umass.edu (Murray Eisenberg)
wrote:

>This definitely seems to be an oversight (i.e., minor bug). What
>does work is:

>UnitConvert[Quantity[0.81, "Radians"], Quantity[1, "Degrees"]]

>And, curiously, the following works:

>UnitConvert[Quantity[0.81, "Radians"], "Grads"]

>(but the corresponding expression with "Mils" instead of "Grads"
>does not).

This is because Mathematica sees "Mils" as a measure of distance
not angular measure. That is:

In[1]:= UnitConvert[Quantity[1.0, "Inches"], "Mils"]

Out[1]= 1000.mils

My guess would be the issue with both "Degrees" and "Mils" is
there are multiple interpretations for these as units of measure.

Something that is missing from the implementation of units in
version 9 that would be helpful is the ability to list units
built-in for Quantity and UnitConvert and their definitions.

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Terrible unit trouble in Mathematic 9 Bill Rowe <readnews@sbcglobal.net> - 2012-12-23 18:14 +0000

csiph-web