# Tagged Questions

Questions about using, converting, or interpreting units of measurement in Mathematica.

143 views

### Can I convert a list of units to a different base set?

I have a list of quantities with varying units (a short example list is shown below): ...
125 views

### AutomaticUnits in WM10

Despite the unit improvement in WM10, I am still a big fan of the AutomaticUnits package, as I find it faster and more elegant to work with. However, it seems to be ...
192 views

### Draw and Quantity

I'd like to use Quantity in my graphics, but I can't figure out how to do it even for a very simple Circle. ...
100 views

### QuantityVariable usage

When I try to run the following code, Mathematica gives me an error message: "Solve was unable to determine the units of quantities that appear in the input." ...
59 views

### Simplify CubeRoot of meter cubes

Why Mathematica doesn't simplify CubeRoot of meter cubes to meters? r = Quantity[10, "Meters"]; v = 4/3 r^3 Pi; CubeRoot[% * 3/4 / Pi] returns ...
64 views

### UnitConvert of a Quantity whose value is a function of a Quantity

I am having trouble with UnitConvert when the QuantityMagnitude contains an embedded Quantity...
85 views

### Working with symbolic values in Quantities [duplicate]

I have the following expression: x Quantity[y, ("Milliwatts"*"Seconds"^2)/"Joules"] If I try to convert this to the SI unit, I would expect to get ...
53 views

### UnitConvert bar <-> Pa

I wanted to use the following unit cMax = Quantity[6.8221*^-9, "L/s/bar"]; But when calculating with it, I recognised there is some strange behaviour. So I tried ...
155 views

### Dimensionless quantities

I must admit that I don't think this problem is really new. However, I haven't found a post dealing exactly with this aspect of the issue. I am doing calculation using Quantities, but I have problems ...
104 views

### Unit System documentation

Is there any documentation on what consists of the unit system "SIBase","Imperial", "SI" and ...
283 views

### Possible bug: Quantity[2,“meters”] returns 2 None meters

Bug introduced in version 10 or earlier and fixed in version 10.0.2 I'm using 10.0 for Linux. Trial 1: Quantity[2,"meters"] 2 None meters Trial 2: ...
253 views

### Is there a build-in function converting a quantity to one with mixed units (such as feet and inches)?

For example, I want to convert 179 centimeters into 5 feet and 10.4724 inches instead of 70.4724 inches (as this website did). Maybe in the future I would need to convert days to {years, months, days} ...
179 views

### Why is this evaluation halved when adding units?

Why does this strange behavior occur when dealing with units and quantities? ...
88 views

### Geodesy without units?

Suppose I'm interested in the latitude of Los Angeles and I do the following: ...
386 views

### Unit conversion is not simplifying units

I'm running into what looks like an error. ...
158 views

### NIntegrate with units: unable to determine the units of quanitites that appear in the input

I want to integrate Planck's law of radiation in a certain wavelength intervall with units. I define some constants: ...
129 views

### Plotting Earth's position with units

I'm trying to plot the Earth position with the Sun in the origin. I have two lists like this: ...
135 views

### How do you get a country's GDP per capita in Euros?

Right now, I'm getting the data in U.S. Dollars and converting it to Euros like this: ...
169 views

### LowpassFilter in v10: unit issues?

Bug introduced in 10.0.0 and fixed in 10.1.0 I tried this with a clean start and no documents loaded. Now, evaluating the following on the documentation page for ...
150 views

Why does adding 6.1000000 seconds to a DateObject display as having added 6.099? If I copy the Out[20] element from this picture, it contains the correct value: ...
134 views

### Something wrong with the way units are handled in V10

(This applies only to version 10) I obtain these two properties of silicon: a = ElementData[14, "CrustAbundance"] b = ElementData[14, "MeteoriteAbundance"] both ...
165 views

### Using Manipulate[ ] with physical units

I'm a new user, and am trying to build a simple Boyle's law system in Mathematica. I want to include the units of the values, as I may need to perform some conversions later. If my quantities are a ...
354 views

### Convert units to String

Is there a way to convert compound units to string? For example, I have "Newtons"/"Meters"^2, how to I convert it to "N/m^2"? I know If I do the following ...
104 views

### Is there a way to display units in short label?

For example, forQuantityUnit[Quantity[1, "Meters"]], is there a way to display the results as"m" instead of "Meters"?
174 views

### Display Quantity in full form

Is there a way to display Quantity[] in full form in the output? I know you could use Quantity[valuse, Unit]//InputForm, but ...
433 views

### How to specify units for ImageSize Option? [duplicate]

I'm trying out making a CDF and I want it to print within the margins of Letter paper. There is an ImageSize option that I would like to set; some plots will be in ...
163 views

### Converting in various currencies

I was just playing around with Mathematica converting some currencies: ...
699 views

### Where to see all Mathematica units [duplicate]

Is there a tutorial page that have all Mathematica units? I sometimes have hard time figuring out the correct unit spelling when using quantities
2k views

### Numerical value of physical constants Mathematica 10

Is there a way to use the physical constants in calculations and have Mathematica 10 figure out the final unit and numerical magnitude? When I try ...
636 views

### Automatically add appropriate prefix to Quantity

Is there a function that automatically adds the appropriate prefix to a Quantity object? For example, I would like a function ...
234 views

### Solving equations with QuantityVariable

I'm trying to understand how to easily solve equations that use QuantityVariable. Why does this fail? ...
596 views

### How to dequantify units in mathematica?

Is there a function which applied to a quantity returns its numerical value so I for instance can fill it into my Predictorfunction?
470 views

### Wavelength, wavenumber, energy and frequency in a ruler

I would like to generate set of four axis relating wavelength, wavenumber, energy and frequency in an arbitrary range. Like in this image but without the labels such as "RADAR". The selection of ...
101 views

### Quantities formatting problem

So I've developed this simple code ...
312 views

...
152 views

### Meaning of backtick in conjunction with units [duplicate]

In this fragment from an equation solution the backtick is used twice: ...
191 views

### Cancelling units in two-argument ArcTan

Consider ArcTan[3, -3] (* out: *) -Pi/4 ArcTan[3 a Sin[t/2], -3 a Sin[t/2]] (* out: *) ArcTan[3 a Sin[t/2], -3 a Sin[t/2]] However, we can fix the ...
112 views

### AstronomicalData not including units?

I like using mathematica to do my physics homework, and AstronomicalData is useful for that, but it doesn't seem to work properly with units. [the question is, at ...
234 views

### UnitSimplify returns unexpected non-SI unit combination

I am trying to get units working in mathematica in the following expression for diffusion: $D = {K_B T}/{3 \pi \eta L}$ My code is as follows: ...
668 views

### Suppress connection to Wolfram|Alpha when making unit conversions

I want to speed up calculations with unit conversions. I suspect primarily that some units evaluate from Wolfram|Alpha. Any way to prevent this automatically, so that Mathematica throws errors/...
137 views

### Make Quantity behave reasonable with Degrees Celsius

When using a Quantity with the unit of "DegreesCelsius" multiplication doesn't work as expected. If you have 10 degrees and ...
170 views

### Choosing the units for plotting

I´m new to using units in Mathematica. I have read other similar posts about this issue but I haven´t found an answer so far. My problem is simple: I want to plot a certain function with a certain ...
730 views

### Unit of the frequency axis in BodePlot

I have a simple question: What is the unit of the frequency axis in the BodePlot? I searched the documentation, but only found this: The scaling functions can be specified as ScalingFunctions->{{...
101 views

### Grouping units more sanely

Would it be possible to get Mathematica to group units more sanely. For example the calculation: ...