Questions about calculating with units in Mathematica.
1
vote
0answers
38 views
How can I say that all quantities need to be positive (and real)?
Can you say at the beginning of a script in mathematica that you want all the quantities to be positive (and real)? So that in all calculations, only the real values of these quantities will be ...
2
votes
0answers
90 views
UnitConvert: the square of a dimensionless quantity is not dimensionless
This is pretty ridiculous. Look at the following code:
UnitConvert[Quantity["FineStructureConstant"], 1]^2
0.0000532513545
...
0
votes
1answer
68 views
Cannot convert units in Mathematica [closed]
One of the big things Wolfram touted about their new mathematica 9 was its ability to format units, and do calculations with them. I however can't seem to find out how to actually use them to ...
5
votes
0answers
97 views
Quantity and Trig functions
I have a bunch of data to which I've assigned units using Quantity, including some angular measurements in degrees. I'd like to be able to use these measurements ...
2
votes
0answers
63 views
List of supported units in Mathematica 9 [duplicate]
Is there a list of supported units in Mathematica 9 documentation? I personal haven't found any; even the physical constants (newly supported as units in 9) can only be found in compatibility ...
8
votes
1answer
127 views
How do I seamlessly migrate from the older Units package to Mathematica 9's Quantity objects?
I have several notebooks that make use of the Units package and would like to be able to work simultaneously with the older units and ...
0
votes
1answer
131 views
Plotting with Units
I'm trying to get Mathematica to plot with units, but I'm having some trouble.
Below is a minimal example of trying to plot y = x, where ...
7
votes
1answer
88 views
Kelvin per Kelvin Difference
I'm trying to use Mathematica units more often, but I've run into the following problem:
...
3
votes
3answers
164 views
How to deal with units in logarithms?
I'm trying to take a formula, take it's integral which yields a formula with logarithms, and then directly plug in values with units and get an answer. However if the units go into any of the ...
12
votes
2answers
202 views
Built-in unit strings recognized by Quantity?
It’s great that Quantity can utilize Wolfram Alpha to interpret unit strings that it doesn’t recognize, but I need my code to work on machines that do not have Internet access.
Is there a complete ...
4
votes
1answer
84 views
NumberForm and units
NumberForm can be used to print Quantities to a specified precision. For example,
x=Quantity[5.123456789,"Meters"];
5.12346 m
Print[NumberForm[x,{4,2}]]
5.12 m
...
8
votes
1answer
160 views
Cannot plot Quantity values with DateListPlot
Is there a way to use DateListPlot with Quantity values? I retrieved the following time series data from WolframAlpha:
...
6
votes
0answers
220 views
Incomplete implementation of units?
I've been playing around with the new units capability in MMA9 and I'm becoming a bit frustrated with what I perceive as an incomplete implementation of this capability and I'm wondering if there are ...
9
votes
1answer
244 views
Is there a “No Units” (i.e., dimensionless) unit?
I would like to be able to call the Quantity function with a null unit so that it returns the original dimensionless value. For example,
...
3
votes
1answer
279 views
Unit issues in Mathematica 9
I posted the following on the Google+ group comp.soft-sys.math.mathematica and had no luck with responses. I've done a Google search and, to the best of my ability, ...
24
votes
3answers
1k views
Are Mathematica 9 units really slow?
This generates 75 unitized pairs for a plot that displays physical units:
...
5
votes
1answer
159 views
Getting all physical units with prefixes
How we can get the list with all physical units and prefixes from WolframAlpha and make symbols from the result to be equal their corresponding quantities like described in this post?
9
votes
1answer
161 views
Where is the unit after a calculation?
I was playing with some of the new features, and when I type e.g.
Quantity[10, "ml"] + Quantity[250 - 100, "ml"]
I get
...
3
votes
1answer
202 views
Simplifying to different units
Is there a way to force Mathematica to UnitSimplify to a different unit? For example, I would like kg m^2/s^2 to simplify to ...
2
votes
3answers
149 views
Inputting abbreviated units [duplicate]
Possible Duplicate:
Simpler input for the new unit support
Is there a way to input abbreviated units directly from the keyboard? One can get a value with abbreviated units through the ...
2
votes
2answers
216 views
Use of own unit abbreviations
I have been using AutomaticUnits in my calculations. In this package all I had to do was to declare the units I wanted e.g. mm, kN, sec, kPa, litres etc. in terms of existing units, and then use them ...
23
votes
2answers
467 views
Should 0 * 5ft be 0 or 0ft?
After playing with the new quantity system in Mathematica 9 for a while, I keep stumbling over this issue:
0 * Quantity[1, "Meters"]
is not the same as
...
10
votes
5answers
517 views
Implementing CGS unit system in Mathematica 9
So I've just installed the trial version of Mathematica 9. The first noticeable feature for me is the new built-in physical units. I used AutomaticUnits package ...
12
votes
1answer
257 views
20
votes
5answers
757 views
Simpler input for the new unit support
I've been playing with the new unit support in Mathematica 9. It seems very useful, but the syntax is very verbose. Instead of typing:
...


