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


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

Re: Terrible unit trouble in Mathematic 9

Started byBill Rowe <readnews@sbcglobal.net>
First post2012-12-23 18:14 +0000
Last post2012-12-23 18:14 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

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

#12932 — Re: Terrible unit trouble in Mathematic 9

FromBill Rowe <readnews@sbcglobal.net>
Date2012-12-23 18:14 +0000
SubjectRe: Terrible unit trouble in Mathematic 9
Message-ID<kb7hmn$3m9$1@smc.vnet.net>
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.

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web