Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Terrible unit trouble in Mathematic 9
Replies: 11   Last Post: Dec 23, 2012 1:15 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Daniel Warren

Posts: 144
Registered: 5/16/07
Terrible unit trouble in Mathematic 9
Posted: Dec 23, 2012 7:08 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Do you have a live Internet connection when evaluating your Quantity expressions? The new units system relies heavily on WolframAlpha for interpretation of units, and many Quantity or other unit-related functions will fail if Mathematica is unable to contact WolframAlpha for help. This seems to happen mostly when entering Quantities; if the strings representing your units are not immediately recognized by Mathematica, the strings get shipped to W|A. I've gotten in the habit of starting an inline W|A box, typing my desired quantity, then using Evaluate In Place on the box. This gives me the quantity in a form that, I believe, will not require W|A next time I evaluate the notebook. Using InputForm will also let you see the proper naming and spelling of the units for next time.

Daniel




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.